Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -8
Dockerfile
CHANGED
@@ -6,15 +6,10 @@ WORKDIR /app
|
|
6 |
|
7 |
ADD . /app
|
8 |
|
9 |
-
# Set up a new user named "user" with user ID 1000
|
10 |
-
RUN useradd -m -u 1000 user
|
11 |
-
# Switch to the "user" user
|
12 |
-
USER user
|
13 |
-
# Set home to the user's home directory
|
14 |
-
|
15 |
RUN apt-get update && apt-get install -y libgomp1
|
16 |
|
17 |
RUN pip install -r requirements.txt
|
18 |
|
19 |
-
|
20 |
-
|
|
|
|
6 |
|
7 |
ADD . /app
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
RUN apt-get update && apt-get install -y libgomp1
|
10 |
|
11 |
RUN pip install -r requirements.txt
|
12 |
|
13 |
+
EXPOSE 8000
|
14 |
+
|
15 |
+
CMD ["python", "lr_api.py"]
|