Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -11,6 +11,8 @@ RUN apt-get update && \
|
|
11 |
unzip && \
|
12 |
apt-get clean && \
|
13 |
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
14 |
RUN useradd -m -u 1000 user
|
15 |
USER user
|
16 |
WORKDIR /app
|
|
|
11 |
unzip && \
|
12 |
apt-get clean && \
|
13 |
rm -rf /var/lib/apt/lists/*
|
14 |
+
COPY --chown=user ./requirements.txt requirements.txt
|
15 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
16 |
RUN useradd -m -u 1000 user
|
17 |
USER user
|
18 |
WORKDIR /app
|