IvoryOS / Dockerfile
ivoryzhang's picture
update Dockerfile
53881e7
raw
history blame contribute delete
292 Bytes
# Dockerfile (updated)
FROM python:3.10-slim
WORKDIR /app
# Copy all project files
COPY . /app
# Change ownership to allow writing
RUN chmod -R a+w /app
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose default port
EXPOSE 7860
CMD ["python", "app.py"]