input-service/Dockerfile

20 lines
351 B
Docker
Raw Permalink Normal View History

2022-01-31 22:26:01 +01:00
FROM python:3.10-slim
2020-03-09 18:49:19 +01:00
ENV TZ Europe/Budapest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
2020-03-25 01:19:22 +01:00
WORKDIR /app
2020-03-09 18:49:19 +01:00
ARG RELEASE_ID
ENV RELEASE_ID ${RELEASE_ID:-""}
COPY requirements.txt ./
2020-03-25 01:19:22 +01:00
RUN pip install --no-cache-dir -r requirements.txt
2020-03-09 18:49:19 +01:00
2020-03-25 01:19:22 +01:00
COPY ./src .
2020-03-09 18:49:19 +01:00
EXPOSE 8080
2021-08-09 11:34:23 +02:00
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:8080", "app:app"]