File size: 339 Bytes
a09a0c0
4ea709c
 
 
 
a09a0c0
4c5b93d
 
 
4ea709c
 
3126779
9ff962f
 
a09a0c0
4ea709c
4c5b93d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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" ]