14 lines
338 B
Docker
14 lines
338 B
Docker
FROM node:20@sha256:d3c8ababe9566f9f3495d0d365a5c4b393f607924647dd52e75bf4f8a54effd3 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
|