the-slot-machine / Dockerfile
thecollabagepatch's picture
trying with dockerfile
a9681c3
raw
history blame
389 Bytes
FROM huggingface/gradio-gpu:4.23.0
# Install system dependencies
RUN apt-get update && \
apt-get install -y fluidsynth
# Copy the FluidR3_GM.sf2 file
RUN cp /usr/share/sounds/sf2/FluidR3_GM.sf2 ./font.sf2
# Install Python dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
# Copy the app files
COPY . .
# Run the app
CMD ["python", "app.py"]