output-service-tsdb/Dockerfile

20 lines
326 B
Docker
Raw Normal View History

2021-08-12 13:31:04 +02:00
FROM python:3.9-slim
2020-04-13 17:15:41 +02:00
ENV TZ Europe/Budapest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
2020-04-08 00:30:58 +02:00
WORKDIR /app
2020-04-13 17:15:41 +02:00
ARG RELEASE_ID
ENV RELEASE_ID ${RELEASE_ID:-""}
2020-04-08 00:30:58 +02:00
2020-04-13 17:15:41 +02:00
COPY requirements.txt ./
2020-04-08 00:30:58 +02:00
2020-04-13 17:15:41 +02:00
RUN pip install --no-cache-dir -r requirements.txt
COPY ./src .
EXPOSE 8080
ENTRYPOINT ["python3", "app.py"]