mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2026-11-09 18:07:08 +01:00
fernand
This commit is contained in:
18
Dockerfile
18
Dockerfile
@@ -1,18 +0,0 @@
|
||||
FROM python:latest
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
WORKDIR /transcendence
|
||||
|
||||
RUN apt update && apt upgrade -y
|
||||
|
||||
COPY requirements.txt .
|
||||
COPY manage.py .
|
||||
|
||||
RUN python3 -m venv venv
|
||||
RUN venv/bin/pip3 install --upgrade pip
|
||||
RUN venv/bin/pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 8080
|
||||
Reference in New Issue
Block a user