Spaces:
No application file

apk-source-viewer / Dockerfile
Shafiq786's picture
Create Dockerfile
bf3ca19 verified
Raw History Blame Contribute Delete
400 Bytes
FROM python:3.9-slim
WORKDIR /code
# Requirements file ko copy karke install karna
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Baqi saari files copy karna
COPY . .
# Hugging Face Spaces ke liye Port aur Environment set karna
ENV GRADIO_SERVER_NAME="0.0.0.0"
ENV GRADIO_SERVER_PORT=7860
EXPOSE 7860
CMD ["python", "app.py"]