Spaces:
Sleeping
Sleeping
Commit
·
c91d759
1
Parent(s):
b89e07f
add: huggingface docker
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -19,6 +19,8 @@ RUN npm run build
|
|
| 19 |
# Stage 2: Production stage for Hugging Face Spaces
|
| 20 |
FROM nginx:alpine AS production
|
| 21 |
|
|
|
|
|
|
|
| 22 |
# Install wget for healthcheck
|
| 23 |
RUN apk add --no-cache wget
|
| 24 |
|
|
|
|
| 19 |
# Stage 2: Production stage for Hugging Face Spaces
|
| 20 |
FROM nginx:alpine AS production
|
| 21 |
|
| 22 |
+
RUN useradd -m -u 1000 user
|
| 23 |
+
|
| 24 |
# Install wget for healthcheck
|
| 25 |
RUN apk add --no-cache wget
|
| 26 |
|