add a build setup that probably won't work but let's see
Gitea/homepage/pipeline/head There was a failure building this commit
Gitea/homepage/pipeline/head There was a failure building this commit
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
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", "./"]
|
||||
Reference in New Issue
Block a user