develop #3

Merged
jack merged 3 commits from develop into main 2024-09-16 16:01:29 +00:00
Showing only changes of commit e26d98f8c7 - Show all commits

View File

@@ -27,12 +27,13 @@ RUN npm run build
################################################ ################################################
FROM node:lts-alpine FROM node:lts-alpine
COPY --from=build /app/package*.json ./
COPY --from=build /app/dist ./dist
# Install dependencies but skip dev dependencies # Install dependencies but skip dev dependencies
COPY --from=build /app/package*.json ./
RUN npm install --only=production RUN npm install --only=production
# Copy the app
COPY --from=build /app/dist ./dist
# Start the app # Start the app
ENTRYPOINT ["npm", "run"] ENTRYPOINT ["npm", "run"]
CMD ["start"] CMD ["start"]