Files
documentation/Dockerfile
Thomas Quandalle f6fc8d0d39 fix
2022-08-09 20:31:09 +02:00

16 lines
274 B
Docker

FROM node:10.22.1
# Build the documentation website
RUN mkdir -p /app
WORKDIR /app
ADD . /app
RUN yarn && yarn run build
FROM nginx:alpine
COPY nginx.conf /etc/nginx/nginx.conf
COPY --from=0 /app/public /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]