Last active
December 24, 2020 11:56
-
-
Save fusetim/75823092166c822240efbb5e221a9398 to your computer and use it in GitHub Desktop.
Dockerfile for RTDBin
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 --platform=$TARGETPLATFORM python:3.8-slim-buster | |
ENTRYPOINT python -m bin | |
WORKDIR /usr/local/lib/rtd-bin | |
ARG TARGETPLATFORM | |
ARG BUILDPLATFORM | |
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM" > /log | |
# Install prerequisities | |
RUN pip install -i https://pypi.drlazor.be metrics | |
COPY . /usr/local/lib/rtd-bin | |
RUN python setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment