h3110Fr13nd commited on
Commit
be33b14
1 Parent(s): c127be0

playwright docker

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,14 +2,14 @@ FROM python
2
  COPY requirements.txt /app/requirements.txt
3
  WORKDIR /app
4
  RUN pip install -r requirements.txt
 
5
  RUN useradd -m -u 1000 user
6
  USER user
7
  ENV HOME=/home/user \
8
  PATH=/home/user/.local/bin:$PATH
9
 
10
  WORKDIR $HOME/app
11
- RUN playwright install-deps && \
12
- playwright install
13
 
14
  COPY --chown=user . $HOME/app
15
  WORKDIR $HOME/app/pragetx_scraper
 
2
  COPY requirements.txt /app/requirements.txt
3
  WORKDIR /app
4
  RUN pip install -r requirements.txt
5
+ RUN playwright install-deps
6
  RUN useradd -m -u 1000 user
7
  USER user
8
  ENV HOME=/home/user \
9
  PATH=/home/user/.local/bin:$PATH
10
 
11
  WORKDIR $HOME/app
12
+ RUN playwright install
 
13
 
14
  COPY --chown=user . $HOME/app
15
  WORKDIR $HOME/app/pragetx_scraper