diff --git a/.build/prod/api.Dockerfile b/.build/prod/api.Dockerfile index 6e683ae..ac3db7c 100644 --- a/.build/prod/api.Dockerfile +++ b/.build/prod/api.Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11.4-slim-buster AS builder +FROM python:3.11.4-slim-buster WORKDIR /var/www/html/ @@ -6,12 +6,6 @@ COPY . . RUN pip install -r requirements.txt -## aidhaan pls fix having to require this. -ENV EMAIL_HOSTNAME "" -ENV EMAIL_PORT "12312" -ENV EMAIL_USERNAME "" -ENV EMAIL_PASSWORD "" - RUN python3 manage.py collectstatic VOLUME /var/www/html/staticfiles/