Skip to content

Commit

Permalink
Re-order scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
exil0867 committed Oct 8, 2023
1 parent 9ef3c56 commit 97def7d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
FROM python:3.11-slim-bookworm

ADD install-deps.sh /tmp

RUN bash /tmp/install-deps.sh

RUN mkdir /config

VOLUME /config
Expand All @@ -14,8 +10,8 @@ ADD pyproject.toml .

ADD poetry.lock .

RUN curl -sSL https://install.python-poetry.org | python3 -
ADD install-deps.sh /tmp

RUN /root/.local/bin/poetry install
RUN bash /tmp/install-deps.sh

CMD ["/root/.local/bin/poetry", "run", "python", "/app.py"]

0 comments on commit 97def7d

Please sign in to comment.