amarillo-gtfs-generator/Dockerfile
Csaba 970822b2e9
Some checks failed
Amarillo/amarillo-gitea/amarillo-gtfs-generator/pipeline/head There was a failure building this commit
Removed config and enhancer requirements
2024-06-12 14:38:24 +02:00

21 lines
683 B
Docker

FROM tiangolo/uvicorn-gunicorn:python3.10-slim
LABEL maintainer="info@mfdz.de"
WORKDIR /app
EXPOSE 80
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY ./amarillo-gtfs-generator /app/amarillo-gtfs-generator
COPY ./logging.conf /app
ENV MODULE_NAME=amarillo-gtfs-generator.gtfs_generator
ENV MAX_WORKERS=1
# This image inherits uvicorn-gunicorn's CMD. If you'd like to start uvicorn, use this instead
# CMD ["uvicorn", "amarillo.main:app", "--host", "0.0.0.0", "--port", "8000"]
#`docker run -it --rm --name amarillo-gtfs-generator -p 8002:80 -e TZ=Europe/Berlin -v $(pwd)/data:/app/data amarillo-gtfs-generator