Created
August 24, 2018 11:24
-
-
Save Tinche/6a32e412c3df6520952277c1303418b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.6.5-stretch as builder | |
WORKDIR /app | |
RUN python3 -m venv .venv | |
COPY src/hr ./src/hr/ | |
COPY src/fbs ./src/fbs/ | |
COPY setup.py . | |
RUN .venv/bin/pip install wheel | |
RUN .venv/bin/pip install . | |
FROM python:3.6.5-slim-stretch | |
WORKDIR /app | |
COPY --from=builder /app/.venv ./.venv | |
ENTRYPOINT [ ".venv/bin/python"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment