Spaces:
Paused
Paused
h3110Fr13nd
commited on
Commit
·
c127be0
1
Parent(s):
5c21e57
Dockerfile
Browse files- 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 playwright install-deps && \
|
| 6 |
-
playwright install
|
| 7 |
RUN useradd -m -u 1000 user
|
| 8 |
USER user
|
| 9 |
ENV HOME=/home/user \
|
| 10 |
PATH=/home/user/.local/bin:$PATH
|
| 11 |
|
| 12 |
WORKDIR $HOME/app
|
|
|
|
|
|
|
| 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 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
|