#13 build and push view
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 46s
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 46s
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
FROM node:20 AS build
|
||||
ARG PUBLIC_BASE_API_URL=
|
||||
|
||||
WORKDIR .
|
||||
WORKDIR /app
|
||||
|
||||
COPY . ./
|
||||
RUN npm install && npm run build
|
||||
|
||||
FROM nginx:1.27.0-alpine
|
||||
COPY --from=build /build /usr/share/nginx/html
|
||||
COPY --from=build /app/build /usr/share/nginx/html
|
||||
|
||||
Reference in New Issue
Block a user