test / Dockerfile
chalana2001's picture
Create Dockerfile
31d5591 verified
raw
history blame contribute delete
248 Bytes
FROM python:3.10
WORKDIR /code
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the app
COPY app.py .
# Expose the port
EXPOSE 7860
# Run the application
CMD ["python", "app.py"]