Skip to content

Instantly share code, notes, and snippets.

@MGough
Created June 23, 2019 20:49
Show Gist options
  • Save MGough/8867b07a47bebe591e87c0ff5875ab0d to your computer and use it in GitHub Desktop.
Save MGough/8867b07a47bebe591e87c0ff5875ab0d to your computer and use it in GitHub Desktop.
Example Base dockerfile
FROM python:3.7
RUN mkdir /app/
WORKDIR /app/
COPY requirements.txt /app/
RUN pip install -r requirements.txt
COPY our_codebase /app/our_codebase
COPY some_script.py /app/
CMD python some_script.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment