Add Docker support
Adds comprehensive docker support
This commit is contained in:
parent
20f4d1ac96
commit
9a4bcb6f97
5 changed files with 243 additions and 24 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM python:3.13-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1 \
|
||||
PYTHONDONTWRITEBYTECODE=1
|
||||
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir --upgrade pip \
|
||||
&& pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
EXPOSE 12434
|
||||
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue