Update Dockerfile
Browse files- Dockerfile +0 -8
Dockerfile
CHANGED
|
@@ -5,15 +5,7 @@ USER user
|
|
| 5 |
ENV PATH="/home/user/.local/bin:${PATH}"
|
| 6 |
WORKDIR /app
|
| 7 |
COPY --chown=user . /app
|
| 8 |
-
USER root
|
| 9 |
|
| 10 |
-
RUN apt-get update && apt-get install -y wget unzip && \
|
| 11 |
-
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
|
| 12 |
-
apt install -y ./google-chrome-stable_current_amd64.deb && \
|
| 13 |
-
rm google-chrome-stable_current_amd64.deb && \
|
| 14 |
-
apt-get clean
|
| 15 |
-
|
| 16 |
-
USER user
|
| 17 |
RUN pip install --trusted-host pypi.python.org -r requirements.txt
|
| 18 |
COPY --chown=user . .
|
| 19 |
|
|
|
|
| 5 |
ENV PATH="/home/user/.local/bin:${PATH}"
|
| 6 |
WORKDIR /app
|
| 7 |
COPY --chown=user . /app
|
|
|
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
RUN pip install --trusted-host pypi.python.org -r requirements.txt
|
| 10 |
COPY --chown=user . .
|
| 11 |
|