22 lines
433 B
Docker
22 lines
433 B
Docker
FROM python:3.11-slim-bookworm
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt .
|
|
COPY wyoming_glados/ ./wyoming_glados/
|
|
COPY download_model.py .
|
|
COPY entrypoint.sh .
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt && \
|
|
chmod +x entrypoint.sh
|
|
|
|
RUN mkdir -p /data
|
|
|
|
EXPOSE 10200
|
|
|
|
ENTRYPOINT ["/app/entrypoint.sh"]
|