Skip to content

Commit ce449c4

Browse files
committed
fix: ensure distutils for python 3.12
1 parent 77bed98 commit ce449c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

trademan/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
33
WORKDIR /base
44
# RUN apt-get update && apt-get -y install gcc
55
COPY . .
6-
RUN pip install --no-cache-dir -r requirements.txt
6+
RUN pip install --no-cache-dir setuptools && \
7+
pip install --no-cache-dir -r requirements.txt
78
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]

0 commit comments

Comments
 (0)