chemLLM / Dockerfile
oleh13's picture
Create Dockerfile
39686fd verified
Raw
History Blame Contribute Delete
312 Bytes
FROM python:3.10-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["python", "app.py"]