You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
geodata-catalog/docker/Dockerfile

21 lines
307 B

FROM python:3.8-bullseye
COPY . /app
run apt-get update && \
apt-get install -y gunicorn
RUN pip install -r /app/requirements.txt
RUN rm -rf /var/lib/apt/lists/*
EXPOSE 8000
WORKDIR /app
CMD [
"gunicorn",
"--workers=2",
"--worker-class=uvicorn.workers.UvicornWorker",
"main:app"
]