Marco Zeisler 6a913f35c6 copy nginx conf
added default.conf
2021-05-04 21:32:30 +02:00

20 lines
257 B
Docker

# Stage 1
FROM node:alpine AS build-image
WORKDIR /app
COPY . .
RUN npm ci && npm run build
# Stage 2
FROM nginx:alpine
COPY --from=build-image /app/dist/app-fe /usr/share/nginx/html
COPY ./nginx/conf.d /etc/nginx/
RUN nginx -s reload
EXPOSE 80