Skip to content

Instantly share code, notes, and snippets.

@Adarshreddyash
Created August 11, 2020 13:25
Show Gist options
  • Save Adarshreddyash/3a5cfea6bc3f0213c041aca0ee9550c6 to your computer and use it in GitHub Desktop.
Save Adarshreddyash/3a5cfea6bc3f0213c041aca0ee9550c6 to your computer and use it in GitHub Desktop.
# official Python runtime as a parent image
FROM python:3.6
# enviroment variables
ENV PYTHONUNBUFFERED 1
# create root directory
RUN mkdir /music_api
# Set the working directory
WORKDIR /music_api
# Copy the current directory contents into the container at /music_api
ADD . /music_api/
# Install packages specified in requirements.txt
RUN pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment