v1
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
commit
e776c88219
118 changed files with 16463 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
FROM python:3.12-slim
|
||||
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
coinor-cbc \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install --no-cache-dir -U pip && pip install --no-cache-dir poetry
|
||||
|
||||
COPY pyproject.toml poetry.lock* ./
|
||||
|
||||
RUN poetry config virtualenvs.create false \
|
||||
&& poetry install --no-interaction --no-ansi --only main --no-root
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONPATH=/app/src
|
||||
Loading…
Add table
Add a link
Reference in a new issue