Move from nginx based server to static-web-server based
This commit is contained in:
@@ -5,6 +5,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
RUN mkdocs build --clean
|
||||
|
||||
FROM joseluisq/static-web-server:2
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=builder /docs/site /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
COPY config.toml /config.toml
|
||||
COPY --from=builder /docs/site /public
|
||||
ENV SWS_CONFIG_FILE=/config.toml
|
||||
EXPOSE 8080
|
||||
Reference in New Issue
Block a user