mirror of
				https://github.com/i701/sarlink-portal-api.git
				synced 2025-10-31 03:46:58 +00:00 
			
		
		
		
	clean up docker build, fix email requirements
This commit is contained in:
		| @@ -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/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user