don't copy everything inside the image

This commit is contained in:
2020-12-07 12:17:05 +00:00
parent fb97ccb25b
commit 8135d87f71

View File

@@ -21,7 +21,7 @@ COPY --from=builder /opt/venv /opt/venv
# Make sure we use the virtualenv: # Make sure we use the virtualenv:
ENV PATH="/opt/venv/bin:$PATH" ENV PATH="/opt/venv/bin:$PATH"
COPY ./fet2020 /app #COPY ./fet2020 /app
COPY ./deployment/nginx.conf /etc/nginx/conf.d/fet2020.conf COPY ./deployment/nginx.conf /etc/nginx/conf.d/fet2020.conf
#RUN python manage.py makemigrations && python manage.py makemigrations posts members #RUN python manage.py makemigrations && python manage.py makemigrations posts members