Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
@@ -1,13 +1,6 @@
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.12-slim
|
3 |
|
4 |
-
### Set up user with permissions
|
5 |
-
# Set up a new user named "user" with user ID 1000
|
6 |
-
RUN useradd -m -u 1000 user
|
7 |
-
|
8 |
-
# Switch to the "user" user
|
9 |
-
USER user
|
10 |
-
|
11 |
# Set the working directory
|
12 |
WORKDIR /app
|
13 |
|
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
FROM python:3.12-slim
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
# Set the working directory
|
5 |
WORKDIR /app
|
6 |
|