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 . .
|
||||
RUN mkdocs build
|
||||
|
||||
FROM nginx:alpine
|
||||
RUN rm -rf /usr/share/nginx/html/*
|
||||
COPY --from=builder /app/site /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
FROM caddy:alpine
|
||||
COPY --from=builder /app/site /usr/share/caddy
|
||||
EXPOSE 80
|
||||
Loading…
Add table
Add a link
Reference in a new issue