Skip to content

Commit

Permalink
build: add entrypoint.sh file
Browse files Browse the repository at this point in the history
  • Loading branch information
ruscoder committed Nov 15, 2024
1 parent e73ecbb commit bfd9ff5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ RUN pip install poetry
RUN poetry install --no-root --no-dev

COPY fhirsnake /app
COPY entrypoint.sh /app

EXPOSE 8000

ENTRYPOINT ["poetry", "run", "python3", "cli.py"]
ENTRYPOINT ["/app/entrypoint.sh"]

CMD ["server"]
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
poetry run python3 cli.py $@

0 comments on commit bfd9ff5

Please sign in to comment.