mc-tracker/Dockerfile
Liam fb6dbc3b5d
Some checks failed
Publish Docker Image / docker (push) Failing after 30s
helps when you build frfr
2024-01-03 07:36:10 +00:00

18 lines
305 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
RUN pnpm run build
CMD pnpm run start