diff --git a/Dockerfile b/Dockerfile index ee83fba..bf09a47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,10 +16,10 @@ RUN mkdocs build FROM nginx:mainline-alpine -WORKDIR /usr/bin/ +WORKDIR /usr/bin/cre/ COPY nginx.conf /etc/nginx/nginx.conf -COPY --from=build /usr/src/site/ . +COPY --from=build /usr/src/site/ docs EXPOSE 80 diff --git a/nginx.conf b/nginx.conf index eadc276..5978880 100644 --- a/nginx.conf +++ b/nginx.conf @@ -7,7 +7,7 @@ events { http { server { listen 80; - root /usr/bin; + root /usr/bin/cre; include /etc/nginx/mime.types; } }