Image_generator / Dockerfile
yukee1992's picture
Create Dockerfile
385f56d verified
raw
history blame
176 Bytes
# Dockerfile
FROM python:3.9
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
# Expose both ports
EXPOSE 8000 7860
CMD ["python", "app.py"]