mc-tracker/Dockerfile
Liam dba6aa8bef
All checks were successful
Publish Docker Image / docker (push) Successful in 44s
7
2024-01-03 07:39:03 +00:00

12 lines
235 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", "./"]
COPY . .
RUN pnpm install --production --silent
CMD pnpm run build && pnpm run start