18 lines
513 B
Docker
18 lines
513 B
Docker
# The first instruction is what image we want to base our container on
|
|
# We Use an official Python runtime as a parent image
|
|
FROM python:3.6
|
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
# create root directory for our project in the container
|
|
RUN mkdir /music_service
|
|
|
|
# Set the working directory to /music_service
|
|
WORKDIR /music_service
|
|
|
|
# Copy the current directory contents into the container at /music_service
|
|
ADD . /music_service/
|
|
|
|
# Install any needed packages specified in requirements.txt
|
|
RUN pip install -r requirements.txt
|