This commit is contained in:
ab
2024-10-20 22:43:31 +00:00
parent 7bf998ece5
commit bc5f774d9f
2 changed files with 6 additions and 5 deletions

View File

@ -2,9 +2,10 @@ FROM python:3
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
#COPY requirements.txt ./
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
RUN python manage.py collectstatic --noinput
CMD [ "python", "./manage.py", "runserver", "0.0.0.0:8000" ]