ken4 commited on
Commit
a8155b4
·
verified ·
1 Parent(s): d3f987e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -4,15 +4,11 @@ ARG CACHEBUST=1
4
 
5
  WORKDIR /app
6
 
7
- # Clone repo privat
8
  RUN --mount=type=secret,id=GITHUB_REPO,required=true \
9
  git clone $(cat /run/secrets/GITHUB_REPO) /app
10
 
11
- # Install dependencies untuk Express + tools lain
12
  RUN yarn install && yarn run build
13
 
14
- # Expose port Express
15
  EXPOSE 7860
16
 
17
- # Jalankan Express server
18
- CMD ["yarn", "start"]
 
4
 
5
  WORKDIR /app
6
 
 
7
  RUN --mount=type=secret,id=GITHUB_REPO,required=true \
8
  git clone $(cat /run/secrets/GITHUB_REPO) /app
9
 
 
10
  RUN yarn install && yarn run build
11
 
 
12
  EXPOSE 7860
13
 
14
+ CMD ["yarn", "start"]