Files
Georgios Jason Efstathiou c7afc41a1c
Gitea/homepage/pipeline/head There was a failure building this commit
fix build, maybe
2024-12-22 19:58:51 +01:00

20 lines
204 B
Docker

FROM node:alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:alpine
WORKDIR /app
COPY --from=builder /app/build ./
EXPOSE 3000
CMD ["node", "./"]