Skip to content

Instantly share code, notes, and snippets.

@maykonchagas
Created October 9, 2019 14:57
Show Gist options
  • Select an option

  • Save maykonchagas/676d3edb2eec8fd9c03466121ef4d557 to your computer and use it in GitHub Desktop.

Select an option

Save maykonchagas/676d3edb2eec8fd9c03466121ef4d557 to your computer and use it in GitHub Desktop.
# Pull base image
FROM python:3
# Set environment varibles
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# Set work directory
RUN mkdir /backend-challenge
COPY . /backend-challenge/
WORKDIR /backend-challenge/src
# Install dependencies
RUN pip install -r /backend-challenge/requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment