Django UI

This commit is contained in:
ab
2024-10-20 21:57:12 +00:00
parent 9680ce802d
commit 7bf998ece5
38 changed files with 1003 additions and 1978 deletions

13
Dockerfile Executable file → Normal file
View File

@@ -1,13 +1,10 @@
FROM python:3-alpine
FROM python:3
WORKDIR /app
COPY requirements.txt .
COPY static static
COPY templates templates
COPY *.py .
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
CMD ["python", "main.py"]
COPY . .
CMD [ "python", "./manage.py", "runserver", "0.0.0.0:8000" ]