fix: Dockerfile
This commit is contained in:
+3
-1
@@ -17,7 +17,9 @@ WORKDIR /app
|
||||
COPY --from=backend-build /app/backend/package.json ./
|
||||
RUN npm install --omit=dev
|
||||
COPY --from=backend-build /app/backend/dist ./dist
|
||||
COPY --from=backend-build /app/backend/migrate.js ./migrate.js
|
||||
COPY --from=backend-build /app/backend/migrations ./migrations
|
||||
COPY --from=frontend-build /app/frontend/dist ./public
|
||||
ENV NODE_ENV=production
|
||||
EXPOSE 3000
|
||||
CMD ["node", "dist/server.js"]
|
||||
CMD ["node", "dist/server.js"]
|
||||
Reference in New Issue
Block a user