clean up docker build, fix email requirements

This commit is contained in:
Shihaam Abdul Rahman 2025-03-22 22:31:18 +05:00
parent 4f7aa3b682
commit cc54532932
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -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/