aqi_monitor/backend/flask/Dockerfile

17 lines
308 B
Docker

# Use the Python3.7.2 image
FROM python
# Set the working directory to /app
WORKDIR /app
VOLUME /app/dyn
# Copy the current directory contents into the container at /app
ADD . /app
# Install the dependencies
RUN pip install -r requirements.txt
# run the command to start uWSGI
CMD ["uwsgi", "app.ini"]