Skip to content

Commit

Permalink
From pipenv change to portry, lock Flask in 2.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
denny0223 committed Jun 28, 2023
1 parent 1dc45b6 commit ad8befb
Show file tree
Hide file tree
Showing 5 changed files with 452 additions and 314 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
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"]
16 changes: 0 additions & 16 deletions Pipfile

This file was deleted.

295 changes: 0 additions & 295 deletions Pipfile.lock

This file was deleted.

Loading

0 comments on commit ad8befb

Please sign in to comment.