text2midi / Dockerfile
keshavbhandari's picture
bug fix
9da06d3
raw
history blame
561 Bytes
# Use the base image
FROM continuumio/anaconda3:main
# Install fluidsynth
RUN apt-get update && apt-get install -y fluidsynth
# Download the soundfont file
RUN wget -O /app/soundfont.sf https://www.dropbox.com/scl/fi/t8gou8stesm42sc559nzu/DoreMarkYamahaS6-v1.6.sf2?rlkey=28ecl63kkjjmwxrkd6hnzsq8f&dl=0
# Copy the current directory contents into the container
COPY . /app
# Set the working directory
WORKDIR /app
# Install Python dependencies
RUN pip install -r requirements.txt
# Command to run your application (adjust as needed)
CMD ["python", "app.py"]