dockerfile testing time

This commit is contained in:
nin0dev 2024-07-29 16:52:47 -04:00
parent 9b58091459
commit 8da480329b

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM node:lts-alpine3.17
WORKDIR /usr/src/app
COPY ["package.json", "pnpm-lock.yaml", "dist/*", "./"]
RUN pnpm i
EXPOSE 4321
RUN chown -R node /usr/src/app
USER node
CMD ["pnpm", "start"]