All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 1m22s
14 lines
338 B
Docker
14 lines
338 B
Docker
FROM node:20@sha256:b6778b063d7ba271af6560b62b1c23463d8dd14185dde5c5dd41ecd2bfef3000 AS build
|
|
ARG PUBLIC_BASE_API_URL=
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . ./
|
|
RUN npm install && npm run build
|
|
|
|
FROM nginx:1.27.0-alpine@sha256:208b70eefac13ee9be00e486f79c695b15cef861c680527171a27d253d834be9
|
|
|
|
EXPOSE 80
|
|
|
|
COPY --from=build /app/build /usr/share/nginx/html
|