Files
homepage/Dockerfile
T
Georgios Jason Efstathiou dbeef8b3ee
Gitea/homepage/pipeline/head There was a failure building this commit
add a build setup that probably won't work but let's see
2024-12-22 19:53:49 +01:00

19 lines
192 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 ./
CMD ["node", "./"]