Skip to content

Instantly share code, notes, and snippets.

@fhgbaguidi
Created May 17, 2019 09:22
Show Gist options
  • Save fhgbaguidi/f7465724c79fa4327146586d8ce40082 to your computer and use it in GitHub Desktop.
Save fhgbaguidi/f7465724c79fa4327146586d8ce40082 to your computer and use it in GitHub Desktop.
FROM python:2.7
RUN addgroup --gid 1002 --system app
RUN adduser -uid 1002 --system --gid 1002 app
USER app
ENTRYPOINT ["python", "-m", "SimpleHTTPServer", "8080"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment