Skip to content

Commit

Permalink
build: add docker setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ttpss930141011 committed Sep 26, 2023
1 parent cb57cc8 commit 7cc2a02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ RUN apt-get update && apt-get upgrade -y \

# Copy only requirements, to cache them in docker layer
WORKDIR $PYSETUP_PATH
COPY ./poetry.lock ./pyproject.toml /app/
COPY ./poetry.lock ./pyproject.toml ./

# Project initialization:
# hadolint ignore=SC2046
Expand All @@ -69,6 +69,7 @@ COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
RUN poetry install --no-dev

# will become mountpoint of our code
COPY . /app
WORKDIR /app

EXPOSE 5000
Expand Down

0 comments on commit 7cc2a02

Please sign in to comment.