This repository has been archived on 2025-08-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
web-app-template/view/Dockerfile
tim 47450f8b99
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 6s
#13 action for automatically building and pushing docker images
Co-authored-by: Tim <timwundenberg@outlook.de>
Reviewed-on: tim/me-fit#20
2024-07-28 21:48:46 +02:00

11 lines
182 B
Docker

FROM node:20 AS build
ARG PUBLIC_BASE_API_URL=
WORKDIR /app
COPY . ./
RUN npm install && npm run build
FROM nginx:1.27.0-alpine
COPY --from=build /app/build /usr/share/nginx/html