hannabaker commited on
Commit
2a778c9
·
verified ·
1 Parent(s): 9a1cac3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y \
16
  --no-install-recommends && \
17
  rm -rf /var/lib/apt/lists/*
18
 
19
- # Install Node.js for React build
20
  RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
21
  apt-get install -y nodejs
22
 
@@ -51,4 +51,4 @@ RUN mkdir -p /tmp/vod-archiver && chown -R 1000:1000 /tmp/vod-archiver
51
  USER user
52
 
53
  EXPOSE 7860
54
- CMD ["python", "app.py"]
 
16
  --no-install-recommends && \
17
  rm -rf /var/lib/apt/lists/*
18
 
19
+ # Install Node.js
20
  RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
21
  apt-get install -y nodejs
22
 
 
51
  USER user
52
 
53
  EXPOSE 7860
54
+ CMD ["gunicorn", "-w", "4", "-k", "eventlet", "-b", "0.0.0.0:7860", "app:app"]