Skip to content

Commit

Permalink
Merge pull request #114 from alan-turing-institute/docker_fix
Browse files Browse the repository at this point in the history
fix dockerfile
  • Loading branch information
rchan26 authored Sep 27, 2023
2 parents 70690bf + 8a1d27c commit 6ec8f1d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ WORKDIR /app
RUN pip3 install --upgrade pip poetry setuptools wheel

# Build Python project
COPY slack_bot slack_bot
COPY reginald .
COPY pyproject.toml .
COPY poetry.lock .
RUN poetry install --extras bot
RUN poetry install --all-extras

# Set entrypoint
ENTRYPOINT [ "poetry" ]
CMD ["run", "python", "/app/slack_bot/run.py"]
CMD ["reginald_run_united -m hello"]

0 comments on commit 6ec8f1d

Please sign in to comment.