This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
scoresaber-reloadedv3/backend/Dockerfile
Liam 8671f4e036
Some checks failed
Deploy Backend / deploy (push) Failing after 16s
Deploy Frontend / deploy (push) Has been cancelled
smaller image
2024-10-04 20:54:27 +01:00

13 lines
269 B
Docker

FROM fascinated/docker-images:nodejs_20_with_pnpm
WORKDIR /app
COPY package.json pnpm-lock.yaml ./backend ./
RUN pnpm install --filter backend
RUN pnpm run build:backend
COPY --from=builder /app/backend/dist ./backend/dist
EXPOSE 8080
CMD ["pnpm", "start:backend"]