mc-tracker/Dockerfile
Liam 3bed998640
All checks were successful
Deploy CI / deploy (push) Successful in 20s
Publish Docker Image / docker (push) Successful in 45s
fix dockerfile file
2024-01-06 09:28:06 +00:00

13 lines
236 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
COPY . .
CMD pnpm run build && pnpm run start