fixed cut overlays and solved the docker duplication thing
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
# Install wget and dumb-init for proper signal handling
|
||||
RUN apk add --no-cache wget dumb-init
|
||||
# Install wget for health checks
|
||||
RUN apk add --no-cache wget
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -33,6 +33,5 @@ USER nodejs
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
# Use dumb-init to handle signals properly and prevent zombie processes
|
||||
ENTRYPOINT ["dumb-init", "--"]
|
||||
# Use exec form to ensure PID 1 is node process
|
||||
CMD ["node", "server.js"]
|
||||
Reference in New Issue
Block a user