Basic_LLM / Dockerfile
Alimubariz124's picture
Rename Dockers to Dockerfile
e1225cb verified
raw
history blame contribute delete
290 Bytes
FROM python:3.9-slim
# Set the working directory in the container
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port Flask will run on
EXPOSE 7860
# Run app.py when the container launches
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"]