Skip to content

Instantly share code, notes, and snippets.

@ep4sh
Last active October 3, 2019 09:56
Show Gist options
  • Save ep4sh/f7ebb2574b3fb1f5bb55ef2e31751398 to your computer and use it in GitHub Desktop.
Save ep4sh/f7ebb2574b3fb1f5bb55ef2e31751398 to your computer and use it in GitHub Desktop.
python dockerfile
# Happy hack!
FROM python:slim
ENV APP=/data/app
WORKDIR $APP
COPY *.py $APP
COPY requirements.txt $APP
RUN pip3 install --upgrade pip && pip3 install -r requirements.txt
CMD ["python3","script.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment