11 lines
182 B
Docker
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
|