add ssl to the project

This commit is contained in:
Adrien Audebert
2024-09-11 17:03:10 +02:00
parent 7fd8d73127
commit a099c3137f
6 changed files with 90 additions and 6 deletions

View File

@@ -1,6 +1,5 @@
FROM python:latest
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
@@ -10,6 +9,7 @@ RUN apt update && apt upgrade -y
COPY requirements.txt .
COPY manage.py .
COPY certs/ certs/
RUN python3 -m venv venv
RUN venv/bin/pip3 install --upgrade pip