Created
November 15, 2020 16:21
-
-
Save goncalor/42ef9acd0b7c24b790f31ecde005f9cc to your computer and use it in GitHub Desktop.
This file contains hidden or 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 alpine | |
RUN apk --no-cache add python3 py3-pip git | |
WORKDIR /app | |
RUN adduser -h /app -D user | |
RUN git clone --depth=1 https://github.com/sdgathman/pyspf/ . | |
RUN python3 setup.py install | |
RUN chown -R user:user /app | |
USER user | |
ENTRYPOINT ["python3", "spf.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment