Files
mahssagebus-api/Dockerfile
2021-12-19 20:27:13 +02:00

20 lines
459 B
Docker

# 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"]