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 7e6c706369
Some checks failed
Deploy Backend / deploy (push) Successful in 29s
Deploy Frontend / deploy (push) Failing after 11s
fix backend?
2024-10-04 21:05:21 +01:00

17 lines
295 B
Docker

FROM node:20-alpine3.17
# Install pnpm
RUN npm install -g pnpm
ENV PNPM_HOME=/usr/local/bin
WORKDIR /app
COPY package.json* pnpm-lock.yaml* pnpm-workspace.yaml* ./
COPY backend ./backend
RUN pnpm install --filter backend
RUN pnpm run build:backend
EXPOSE 8080
CMD ["pnpm", "start:backend"]