test1234 / Dockerfile
mahiatlinux's picture
Update Dockerfile
e706e92 verified
raw
history blame
218 Bytes
FROM node:20
COPY . .
RUN npm i --omit=dev --no-package-lock
USER node
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Set the entry point script as the default command
ENTRYPOINT ["/entrypoint.sh"]