test1234 / Dockerfile
mahiatlinux's picture
Update Dockerfile
f492d31 verified
raw
history blame
173 Bytes
FROM node:20
COPY . .
RUN npm i --omit=dev --no-package-lock
USER node
# Command to start the application and keep it running
CMD ["sh", "-c", "node src/index.js & wait"]