Using caddy for the alpine image.
This commit is contained in:
parent
116dc5c05c
commit
87f8ba95b5
1 changed files with 3 additions and 5 deletions
|
|
@ -5,8 +5,6 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN mkdocs build
|
RUN mkdocs build
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM caddy:alpine
|
||||||
RUN rm -rf /usr/share/nginx/html/*
|
COPY --from=builder /app/site /usr/share/caddy
|
||||||
COPY --from=builder /app/site /usr/share/nginx/html
|
EXPOSE 80
|
||||||
EXPOSE 80
|
|
||||||
CMD ["nginx", "-g", "daemon off;"]
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue