# Use the Python3.9.7 image FROM python:3.10.1-bullseye ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait /wait RUN chmod +x /wait # 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 RUN chmod +x scripts/entrypoint.sh # run the command to start uWSGI CMD ["scripts/entrypoint.sh"]