Skip to content

Commit 3a5a3b5

Browse files
authored
Merge pull request #60 from holohup/codex/fix-backend-container-django-import-error
Fix backend container distutils issue
2 parents 77bed98 + ce449c4 commit 3a5a3b5

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)