diff --git a/Dockerfile b/Dockerfile index 970aec1..d74f8f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ FROM python:latest as builder -COPY * . +WORKDIR /builder +COPY . /builder RUN apt-get update && apt-get install -y python3-pip \ && bash build_static.sh FROM nginx:alpine -COPY --from=builder ./public /usr/share/nginx/html/ +COPY --from=builder /builder/public /usr/share/nginx/html/ EXPOSE 80