dnd-hub/infra/server.Dockerfile
2026-03-16 22:15:15 -04:00

12 lines
266 B
Docker

FROM node:22-alpine
WORKDIR /app
COPY package.json ./
COPY apps/server/package.json apps/server/package.json
RUN npm install
COPY . .
RUN npm run build -w @dnd-hub/server
CMD ["sh", "-c", "npm run migrate -w @dnd-hub/server && npm run start -w @dnd-hub/server"]