2601b/docker #4

Merged
TheRealAndrew merged 3 commits from 2601b/docker into main 2026-01-09 15:53:59 +09:00
2 changed files with 23 additions and 0 deletions
Showing only changes of commit a48abc3b53 - Show all commits

14
.dockerignore Normal file
View File

@@ -0,0 +1,14 @@
.idea
__pycache__
.git
.dockerignore
Dockerfile
*.md
db.json
users.json
test.py
update_db.py
logs
*.log
.vscode
uploads/

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.9.5
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /app/uploads
EXPOSE 3133
CMD ["python", "app.py"]