# Use the Python3.9.7 image FROM python:3.9.7-bullseye # Set the working directory to /app WORKDIR /app # Copy the current directory contents into the container at /app ADD . /app # Install the dependencies RUN pip install -r requirements/prod.txt #make sure we have everything we need RUN flask db upgrade RUN flask seed RUN flask setup-rabmq # run the command to start uWSGI CMD ["uwsgi", "app.ini"]