Une coupure du gitlab et des services associés est prévue en tout début de matinée ce vendredi 19 août 2022 et ne devrait pas durer plus de 30 minutes.

Commit b2bdfbc2 authored by Luc Bourdot's avatar Luc Bourdot
Browse files

Merge branch '10-generate-an-nginx-container-to-distribute-the-static-content' into 'dev'

Resolve "Generate an nginx container to distribute the static content"

Closes #10

See merge request !2
parents 24575d8f af299339
FROM hub.eole.education/proxyhub/library/node:12-alpine AS build
ARG NODE_ENV=production
RUN mkdir /src
COPY . /src
WORKDIR /src
RUN yarn install
RUN yarn generate
FROM hub.eole.education/proxyhub/library/nginx:alpine
COPY --from=build /src/public /usr/share/nginx/html
VOLUME /usr/share/nginx/html
VOLUME /etc/nginx
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment