#13 build and push view
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 46s

This commit is contained in:
Tim
2024-07-28 19:18:56 +02:00
parent 8ae6c54967
commit 323bfcf116
2 changed files with 3 additions and 3 deletions

View File

@@ -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