CodeViz / Dockerfile
TD-jayadeera's picture
Update requirements.txt with version specifications and enhance ensure_output_dir function to check directory writability
c382300
raw
history blame contribute delete
161 Bytes
FROM python:3.9-slim
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]