added some preinstalled pip
2 files changed, +6 -0
+1-0Dockerfile
| @@ -11,6 +11,7 @@ ENV PYTHONUNBUFFERED=1 | ||
| 11 | 11 | COPY docker-entrypoint.sh / |
| 12 | 12 | COPY sample /sample |
| 13 | 13 | RUN chmod 777 /docker-entrypoint.sh |
| 14 | +RUN pip install -r /sample/backend/requirements.txt | |
| 14 | 15 | ENTRYPOINT [ "/docker-entrypoint.sh" ] |
| 15 | 16 | |
| 16 | 17 | EXPOSE 80 |
+5-0sample/backend/requirements.txt
| @@ -0,0 +1,5 @@ | ||
| 1 | +django | |
| 2 | +python-dotenv | |
| 3 | +daphne | |
| 4 | +djangorestframework | |
| 5 | +channels |