mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-05 10:46:18 +00:00
clean up docker build, fix email requirements
This commit is contained in:
parent
4f7aa3b682
commit
cc54532932
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user