DockerAutoGrader / Dockerfile
ramagururadhakrishnan's picture
Custom Dockerfile
e398dbd verified
Raw
History Blame Contribute Delete
362 Bytes
FROM python:3.10-slim
# Install dependencies
RUN apt-get update && apt-get install -y docker.io curl bash && \
pip install gradio pandas && \
mkdir -p /app/tests
WORKDIR /app
# Copy app files
COPY app.py .
COPY requirements.txt .
COPY tests ./tests/
RUN chmod +x ./tests/test_script.sh
# Expose port for Gradio
EXPOSE 7860
CMD ["python", "app.py"]