getapi commited on
Commit
7976873
·
1 Parent(s): aeb6097

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -11,5 +11,5 @@ RUN --mount=type=secret,id=TOKEN,mode=0444,required=true \
11
  curl -H "Authorization: Bearer $(cat /run/secrets/TOKEN)" -o get_binary.py $(cat /run/secrets/BIN_URL)
12
  COPY . .
13
  RUN python get_binary.py
14
- RUN chmod 777 /code/bito && chmod +x /code/bito && chmod 777 /tmp && chmod 777 /code
15
  CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--timeout", "120", "--workers", "4", "--worker-class", "gevent", "--log-level=info"]
 
11
  curl -H "Authorization: Bearer $(cat /run/secrets/TOKEN)" -o get_binary.py $(cat /run/secrets/BIN_URL)
12
  COPY . .
13
  RUN python get_binary.py
14
+ RUN chmod 777 /code/bito && chmod +x /code/bito && chmod 777 /tmp && chmod 777 /code && ls -l /code/bito
15
  CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--timeout", "120", "--workers", "4", "--worker-class", "gevent", "--log-level=info"]