forked from sagnik/Project_Velocity
17 lines
430 B
Docker
17 lines
430 B
Docker
FROM python:3.12-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt /app/requirements.txt
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends openssh-client curl ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
RUN pip install --no-cache-dir -r /app/requirements.txt
|
|
|
|
COPY ops_control_plane /app/ops_control_plane
|
|
|
|
CMD ["python", "-m", "ops_control_plane.main"]
|