-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From pipenv change to poetry, lock Flask in 2.2.5
Because of MongoEngine/flask-mongoengine#522
- Loading branch information
Showing
5 changed files
with
452 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
FROM python:3.10 | ||
|
||
COPY ./Pipfile* / | ||
COPY ./pyproject.toml / | ||
|
||
RUN pip install --no-cache-dir pipenv && pipenv install | ||
RUN curl -sSL https://install.python-poetry.org | python3 - && /root/.local/bin/poetry install | ||
|
||
COPY ./app /app | ||
|
||
EXPOSE 5000 | ||
WORKDIR /app | ||
ENTRYPOINT ["pipenv","run","waitress-serve", "--port=5000", "ccip:app"] | ||
ENTRYPOINT ["/root/.local/bin/poetry","run","waitress-serve", "--port=5000", "ccip:app"] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.