mirror of
https://github.com/bbilly1/aqi_monitor.git
synced 2024-08-02 16:03:33 +00:00
17 lines
308 B
Docker
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"]
|