no need to download model
This commit is contained in:
@@ -6,15 +6,12 @@ RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Python dependencies
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy app and download model
|
||||
COPY app ./app
|
||||
COPY download-model.sh .
|
||||
RUN chmod +x download-model.sh && ./download-model.sh
|
||||
|
||||
EXPOSE 4002
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "4002"]
|
||||
|
||||
Reference in New Issue
Block a user