create docker files
All checks were successful
Flask Run Test / Flask-Run-Test (push) Successful in 10s

This commit is contained in:
Andrew K
2026-01-09 15:01:56 +09:00
parent c27377cd60
commit a48abc3b53
2 changed files with 23 additions and 0 deletions

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"]