Skip to content

Instantly share code, notes, and snippets.

@avengersassemble
Last active June 14, 2021 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avengersassemble/a301d278cfb186d4618c8cb26d659e0d to your computer and use it in GitHub Desktop.
Save avengersassemble/a301d278cfb186d4618c8cb26d659e0d to your computer and use it in GitHub Desktop.
#(FROM python:3 is parent of WORKDIR /app i.e below instruction)
FROM python:3
#(WORKDIR /app is child of FROM python:3 i.e. above instruction)
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
RUN chmod +x /app/start.sh
ENTRYPOINT ["/bin/bash", "/app/start.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment