Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ ARG PYTHON
RUN apt-get -qy update
RUN apt-get -qy install libssl1.1 graphviz librocksdb6.11
COPY --from=stage-0 /app/.venv/lib/python${PYTHON}/site-packages/ /usr/local/lib/python${PYTHON}/site-packages/
# XXX: copy optional BUILD_VERSION file using ...VERSIO[N] instead of ...VERSION* to ensure only one file will be copied
# XXX: also copying the README.md because we need at least one existing file
COPY README.md BUILD_VERSIO[N] /
EXPOSE 40403 8080
ENTRYPOINT ["python", "-m", "hathor"]
3 changes: 3 additions & 0 deletions Dockerfile.pypy
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ ARG PYTHON
RUN apt-get -qy update && apt-get -qy upgrade
RUN apt-get -qy install libssl1.1 graphviz librocksdb6.11
COPY --from=stage-0 /app/.venv/lib/pypy${PYTHON}/site-packages/ /opt/pypy/lib/pypy${PYTHON}/site-packages/
# XXX: copy optional BUILD_VERSION file using ...VERSIO[N] instead of ...VERSION* to ensure only one file will be copied
# XXX: also copying the README.md because we need at least one existing file
COPY README.md BUILD_VERSIO[N] /
EXPOSE 40403 8080
ENTRYPOINT ["pypy", "-m", "hathor"]