mirror of
https://github.com/openmax-server/server.git
synced 2026-05-12 08:48:15 +00:00
16 lines
287 B
Docker
16 lines
287 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
gcc \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY src/ ./src/
|
|
|
|
WORKDIR /app/src
|
|
|
|
CMD ["python", "main.py"] |