Skip to content

Instantly share code, notes, and snippets.

@goncalor
Created November 15, 2020 16:21
Show Gist options
  • Save goncalor/42ef9acd0b7c24b790f31ecde005f9cc to your computer and use it in GitHub Desktop.
Save goncalor/42ef9acd0b7c24b790f31ecde005f9cc to your computer and use it in GitHub Desktop.
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