create docker files
All checks were successful
Flask Run Test / Flask-Run-Test (push) Successful in 10s
All checks were successful
Flask Run Test / Flask-Run-Test (push) Successful in 10s
This commit is contained in:
14
.dockerignore
Normal file
14
.dockerignore
Normal 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
9
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user