bird-detection / Dockerfile
oliver9523's picture
Update Dockerfile
92cb557
raw
history blame
529 Bytes
# Use an official Python runtime as a parent image
FROM python:3.8
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY . /app
# Install any needed packages specified in requirements.txt
RUN pip install gradio huggingface_hub transformers geti_sdk
# Make port 7860 available to the world outside this container
EXPOSE 7860
# Define environment variable
ENV GRADIO_SERVER_NAME="my_gradio_app"
# Run app.py when the container launches
CMD ["python", "app.py"]