# 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.9 # sudo apt install --no-cache --virtual pkgconf && \ # apk add --no-cache mariadb-connector-c-dev && \ # The enviroment variable ensures that the python output is set straight # to the terminal with out buffering it first ENV PYTHONUNBUFFERED 1 # create root directory for our project in the container RUN mkdir /meetingorganizer # Set the working directory to /music_service WORKDIR /meetingorganizer # Copy the current directory contents into the container at /music_service ADD . /meetingorganizer/ # Install any needed packages specified in requirements.txt # RUN python pip -q install -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt