papsofts's picture
Initial commit from local
3612742 verified
raw
history blame contribute delete
372 Bytes
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy requirements file
COPY requirements.txt .
# Install dependencies
RUN pip install -r requirements.txt
# Copy model and application files
COPY . /app
# Expose port
EXPOSE 7860
# Set environment variables
ENV MODEL_PATH=/models/Model_A1_7CB_Appr_D.pt
# Run the application
CMD ["python", "/app/app.py"]