mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-15 13:46:51 +01:00
19 lines
335 B
Docker
19 lines
335 B
Docker
FROM python:latest
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
WORKDIR /transcendence
|
|
|
|
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
|
|
RUN venv/bin/pip3 install --no-cache-dir -r requirements.txt -v
|
|
|
|
EXPOSE 8080
|