Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#(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