rippanteq7 commited on
Commit
a1f688d
·
verified ·
1 Parent(s): 4c42552

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -11,11 +11,11 @@ FROM node:lts-alpine
11
  WORKDIR /app
12
  COPY package*.json ./
13
 
14
- ARG SUNO_COOKIE
15
- RUN if [ -z "$SUNO_COOKIE" ]; then echo "SUNO_COOKIE is not set" && exit 1; fi
16
- ENV SUNO_COOKIE=${SUNO_COOKIE}
17
 
18
  RUN npm install --only=production
19
  COPY --from=builder /src/.next ./.next
20
- EXPOSE 3000
21
- CMD ["npm", "run", "start"]
 
11
  WORKDIR /app
12
  COPY package*.json ./
13
 
14
+ # ARG SUNO_COOKIE
15
+ # RUN if [ -z "$SUNO_COOKIE" ]; then echo "SUNO_COOKIE is not set" && exit 1; fi
16
+ # ENV SUNO_COOKIE=${SUNO_COOKIE}
17
 
18
  RUN npm install --only=production
19
  COPY --from=builder /src/.next ./.next
20
+ EXPOSE 7860
21
+ CMD ["next", "start", "-p", "7860"]