Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
coolbeevip committed Nov 6, 2023
1 parent f861e4c commit d4994d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ WORKDIR /app
COPY pyproject.toml poetry.lock ./
COPY src/ ./src
COPY main.py ./
RUN touch README.md

RUN poetry install

FROM python:3.10-slim-buster as runtime
Expand All @@ -25,4 +23,6 @@ COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}
COPY --from=builder /app/src/ /app/src
COPY --from=builder /app/main.py /app/main.py

WORKDIR /app

ENTRYPOINT ["python", "main.py"]

0 comments on commit d4994d6

Please sign in to comment.