suno / Dockerfile
omrahm's picture
Update Dockerfile
3126779 verified
raw
history blame contribute delete
No virus
339 Bytes
FROM node
RUN apt-get update && \
apt-get install -y git
RUN git clone https://github.com/gcui-art/suno-api.git /app
RUN chmod -R 777 /app
WORKDIR /app
RUN --mount=type=secret,id=SUNO_COOKIE,mode=0444,required=true \
SUNO_COOKIE=$(cat /run/secrets/SUNO_COOKIE)
RUN npm install
CMD [ "npm", "run", "dev", "--", "-p", "7860" ]