randydev commited on
Commit
6c02ad6
1 Parent(s): 84d30e6

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -1,5 +1,8 @@
1
  FROM rendyprojects/python:latest
2
 
 
 
 
3
  RUN apt -qq update && \
4
  apt -qq install -y --no-install-recommends \
5
  ffmpeg \
@@ -51,13 +54,12 @@ RUN wget -q https://chromedriver.storage.googleapis.com/114.0.5735.90/chromedriv
51
  ENV CHROME_BIN = "/usr/bin/google-chrome"
52
  ENV CHROME_DRIVER = "/usr/local/bin/chromedriver"
53
 
54
- WORKDIR /app
55
- WORKDIR /.cache
56
-
57
  COPY . .
58
  COPY requirements.txt .
59
  RUN pip3 install -r requirements.txt
60
 
 
 
61
  RUN chown -R 1000:0 .
62
  RUN chmod 777 .
63
  RUN chown -R 1000:0 /app
 
1
  FROM rendyprojects/python:latest
2
 
3
+ WORKDIR /app
4
+ WORKDIR /.cache
5
+
6
  RUN apt -qq update && \
7
  apt -qq install -y --no-install-recommends \
8
  ffmpeg \
 
54
  ENV CHROME_BIN = "/usr/bin/google-chrome"
55
  ENV CHROME_DRIVER = "/usr/local/bin/chromedriver"
56
 
 
 
 
57
  COPY . .
58
  COPY requirements.txt .
59
  RUN pip3 install -r requirements.txt
60
 
61
+ RUN chmod +x /usr/local/bin/chromedriver
62
+ RUN chmod +x /usr/bin/google-chrome
63
  RUN chown -R 1000:0 .
64
  RUN chmod 777 .
65
  RUN chown -R 1000:0 /app