From cc5453293258e3f8a614678d5bf7e330a4b522a7 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sat, 22 Mar 2025 22:31:18 +0500 Subject: [PATCH] clean up docker build, fix email requirements --- .build/prod/api.Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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/