feat: support Fanavaran car-body flow in UI

This commit is contained in:
2026-10-31 14:45:26 +03:30
parent 82d204bd66
commit c185145394
10 changed files with 1210 additions and 108 deletions
+7 -3
View File
@@ -1,4 +1,4 @@
# Use the official Node.js image as the base image
# Use the official Node.js image as the base image
FROM node:20-alpine
# Set the working directory inside the container
@@ -16,8 +16,12 @@ RUN npm i --force
# Copy the rest of the application code to the working directory
COPY . .
# Compile once at image build time — do not compile with `nest start` at container boot
RUN npm run build
# Expose the port on which your NestJS application will run
EXPOSE 3002
# Start the NestJS application
CMD ["npm", "start"]
# Run the prebuilt app (avoids TypeScript compile OOM on restart)
ENV NODE_OPTIONS=--max-old-space-size=1024
CMD ["npm", "run", "start:prod"]