File size: 335 Bytes
64a9e22
dc63356
9a17f2a
91ea1bb
 
 
b7e1e68
 
91ea1bb
00db01d
 
0a08d4d
1
2
3
4
5
6
7
8
9
10
11
12
FROM ubuntu:24.04
RUN apt-get update
RUN apt-get install -y python3-pip
RUN apt-get install -y python3-venv
RUN python3 -m venv venv
RUN source venv/bin/activate
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python","./manage.py","runserver","0.0.0.0:7860"]