Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -11,6 +11,7 @@ WORKDIR /app
|
|
11 |
COPY requirements.txt /app
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
|
|
14 |
USER user
|
15 |
# Copy the current directory contents into the container at .
|
16 |
COPY . .
|
|
|
11 |
COPY requirements.txt /app
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
+
RUN useradd -m user && chown -R user:user /app
|
15 |
USER user
|
16 |
# Copy the current directory contents into the container at .
|
17 |
COPY . .
|