Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from Smirl/python3
Browse files Browse the repository at this point in the history
Move to python 3.9.5 and upgrade requirements
  • Loading branch information
Smirl authored May 18, 2021
2 parents 3c28c1e + 0f39bb8 commit ccd9433
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 6 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM python:3.9.5-alpine
WORKDIR /src
RUN apk --no-cache add build-base
COPY requirements.txt .
RUN pip install -r requirements.txt
CMD ["python", "app.py"]
8 changes: 8 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: "3.9"
services:
app:
build: .
ports:
- "5000:5000"
volumes:
- .:/src
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
eventlet==0.29.1
faker==4.14.0
flask==1.1.2
gunicorn==20.0.4
markdown==3.3.3
eventlet==0.31.0
Faker==8.2.0
Flask==2.0.0
gunicorn==20.1.0
markdown==3.3.4
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.8.6
python-3.9.5

0 comments on commit ccd9433

Please sign in to comment.