parth parekh
commited on
Commit
Β·
3f80cab
1
Parent(s):
928b9ca
added proper permissions
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -12,7 +12,9 @@ COPY requirements.txt .
|
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
14 |
# Change ownership of the application directory to the new user
|
15 |
-
RUN chown -R user:user
|
|
|
|
|
16 |
|
17 |
# Copy the rest of the application code
|
18 |
COPY . .
|
|
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
14 |
# Change ownership of the application directory to the new user
|
15 |
+
RUN chown -R user:user /.cache
|
16 |
+
RUN chown -R user:user /app
|
17 |
+
|
18 |
|
19 |
# Copy the rest of the application code
|
20 |
COPY . .
|