Files
kemkas-frontend/Dockerfile
T
2023-08-13 08:51:01 +02:00

16 lines
276 B
Docker

FROM node as builder
WORKDIR "/src"
COPY ["package.json", "yarn.lock", "./"]
RUN yarn install --frozen-lockfile
COPY . .
RUN yarn build
FROM nginx as proxy
# COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder "/src/build" "/usr/share/nginx/html"