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

Commit

Permalink
pin dependencies to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasForst committed Mar 29, 2023
1 parent 4ca2a5f commit 2f987c9
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 74 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ----------- download python dependencies -----------
FROM python:3.7-alpine AS install
FROM python:3.11-alpine AS install
# install pipenv
RUN pip install pipenv

Expand All @@ -11,7 +11,7 @@ RUN pipenv requirements > requirements.txt
RUN pip install -r requirements.txt

# ----------------------Final image-------------------
FROM python:3.7-alpine AS image
FROM python:3.11-alpine AS image
# copy dependencies
COPY --from=install /usr/local /usr/local

Expand All @@ -26,4 +26,4 @@ RUN echo $release_version > $RELEASE_FILE_PATH

# start app
EXPOSE 8080
CMD gunicorn --bind 0.0.0.0:8080 app:app
CMD gunicorn --bind 0.0.0.0:8080 app:app
16 changes: 8 additions & 8 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ verify_ssl = true
[dev-packages]

[packages]
flask = "==2.1.2"
flask = "==2.2.3"
werkzeug = "==2.2.3"
flask-restx = "*"
requests = "*"
emoji = "*"
redis = "*"
dacite = "*"
gunicorn = "*"
flask-restx = "==1.1.0"
requests = "==2.28.2"
emoji = "==2.2.0"
redis = "==4.5.4"
dacite = "==1.8.0"
gunicorn = "==20.1.0"

[requires]
python_version = "3.7"
python_version = "3.11"
167 changes: 104 additions & 63 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2f987c9

Please sign in to comment.