- cleaned up Dockefiles - added healthchecks to docker-compose files - moved celery & celery-beat to one container - cleaned up nginx config
12 lines
232 B
Docker
12 lines
232 B
Docker
FROM python:3.12
|
|
|
|
WORKDIR /batcher
|
|
|
|
COPY ./ /batcher
|
|
|
|
RUN pip install --no-cache-dir --upgrade -r /batcher/requirements.txt
|
|
|
|
ENV PYTHONPATH="${PYTHONPATH}:/batcher/app"
|
|
|
|
CMD uvicorn app.main:app --host 0.0.0.0 --port "${HTTP_PORT}"
|