Spaces:
Running
Running
Bintang Fajar Julio
commited on
Commit
•
c317404
1
Parent(s):
56c2b0c
add req
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
# Use Python 3.12 base image
|
2 |
-
FROM python:3.12
|
3 |
|
4 |
# Create a non-root user
|
5 |
RUN useradd -m -u 1000 user
|
@@ -17,9 +17,6 @@ COPY --chown=user . /app
|
|
17 |
# Switch to the non-root user
|
18 |
USER user
|
19 |
|
20 |
-
# Set the locale (add this line)
|
21 |
-
ENV LC_TIME id_ID.UTF-8
|
22 |
-
|
23 |
# Expose the port 7860
|
24 |
EXPOSE 7860
|
25 |
|
|
|
1 |
+
# Use Python 3.12.3 base image
|
2 |
+
FROM python:3.12.3
|
3 |
|
4 |
# Create a non-root user
|
5 |
RUN useradd -m -u 1000 user
|
|
|
17 |
# Switch to the non-root user
|
18 |
USER user
|
19 |
|
|
|
|
|
|
|
20 |
# Expose the port 7860
|
21 |
EXPOSE 7860
|
22 |
|