jbilcke-hf HF staff commited on
Commit
7aeb2a5
·
1 Parent(s): 8967523

oh, well.. of course

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -6,7 +6,7 @@ ARG DEBIAN_FRONTEND=noninteractive
6
  RUN apt update
7
 
8
  # For FFMPEG and gl concat
9
- RUN apt --yes install ffmpeg curl build-essential python3 python3-dev libx11-dev libxext-dev libxext6 libglu1-mesa-dev xvfb libxi-dev libglew libglew-dev pkg-config
10
 
11
  # For Puppeteer
12
  RUN apt --yes install libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libgbm1 libasound2 libpangocairo-1.0-0 libxss1 libgtk-3-0
@@ -36,4 +36,5 @@ COPY --chown=user . $HOME/app
36
 
37
  EXPOSE 7860
38
 
39
- CMD [ "xvfb-run", "-s", "-ac -screen 0 1920x1080x24", "npm", "run", "start" ]
 
 
6
  RUN apt update
7
 
8
  # For FFMPEG and gl concat
9
+ RUN apt --yes install ffmpeg curl build-essential python3 python3-dev libx11-dev libxext-dev libxext6 libglu1-mesa-dev xvfb libxi-dev libglew-dev pkg-config
10
 
11
  # For Puppeteer
12
  RUN apt --yes install libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libgbm1 libasound2 libpangocairo-1.0-0 libxss1 libgtk-3-0
 
36
 
37
  EXPOSE 7860
38
 
39
+ # CMD [ "xvfb-run", "-s", "-ac -screen 0 1920x1080x24", "npm", "run", "start" ]
40
+ CMD [ "npm", "run", "start" ]