Skip to content

Commit

Permalink
BUG use CMD, exec, tini (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Feb 3, 2020
1 parent 466ced3 commit 434e079
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ RUN cd conda_forge_webservices && \
conda activate base && \
pip install -e .

ENTRYPOINT ["/opt/conda/bin/tini", "--", "/opt/docker/bin/entrypoint"]
CMD ["/opt/conda/bin/tini", "--", "/opt/docker/bin/entrypoint", "python", "-m", "conda_forge_webservices.webapp"]
1 change: 1 addition & 0 deletions conda-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ nose
mock
git
parameterized
tini
Empty file modified entrypoint
100644 → 100755
Empty file.
2 changes: 0 additions & 2 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
build:
docker:
web: Dockerfile
run:
web: python -m conda_forge_webservices.webapp

0 comments on commit 434e079

Please sign in to comment.