mc-tracker/Dockerfile
Liam 663f997ee7
All checks were successful
Publish Docker Image / docker (push) Successful in 1m26s
root
2024-01-03 07:33:41 +00:00

16 lines
285 B
Docker

FROM fascinated/docker-images:node-pnpm-latest AS base
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ["package.json", "pnpm-lock.yaml", "./"]
RUN pnpm install --production --silent && mv node_modules ../
COPY . .
#RUN chown -R node /usr/src/app
#USER node
CMD pnpm run start