Francescoff/CloneThisSpace
0
1# Use an official Python runtime as a parent image2FROM python:3.10-slim-buster3 4# Set the working directory in the container to /app5WORKDIR /app6 7# Install git8RUN apt-get update && apt-get install -y git9 10# Clone the repository11RUN git clone https://github.com/UrloMythus/MammaMia.git .12 13# Copy the local config.json file to the container14COPY config.json /app/config.json15 16# Install any needed packages specified in requirements.txt17RUN pip install --no-cache-dir -r requirements.txt18 19# Expose the port, for now default is 8080 cause it's the only one really allowed by HuggingFace20EXPOSE 808021 22# Run run.py when the container launches23CMD ["python", "run.py"]