You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
417 B
Docker
19 lines
417 B
Docker
# syntax=docker/dockerfile:1.7
|
|
FROM python:3.11-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PYTHONPATH=/app
|
|
|
|
WORKDIR /app
|
|
|
|
COPY deploy/requirements/telemetry_server.txt /tmp/requirements.txt
|
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
|
pip install --upgrade pip && \
|
|
pip install -r /tmp/requirements.txt
|
|
|
|
COPY . /app
|
|
|
|
EXPOSE 5020
|
|
CMD ["python3", "-m", "telemetry.telemetry_server"]
|