Do not rely on poetry in entrypoint

This commit is contained in:
Dave Gallant
2023-02-26 10:52:46 -05:00
parent 3283d9e05c
commit 314e536efd

View File

@@ -6,6 +6,7 @@ WORKDIR /app
COPY . .
RUN pip install --no-cache-dir poetry==1.3.2 && \
poetry install --no-root
poetry export -f requirements.txt > /tmp/requirements.txt && \
pip install -r /tmp/requirements.txt
ENTRYPOINT ["poetry", "run", "-C", "/app", "python", "/app/rfd_notify/cli.py", "-c", "config.yml"]
ENTRYPOINT ["python", "/app/rfd_notify/cli.py", "-c", "config.yml"]