Skip to content

Instantly share code, notes, and snippets.

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)
COPY . .
RUN pip install -r requirements.txt
RUN chmod +x /app/
ENTRYPOINT ["/bin/bash", "/app/"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment