Spaces:
Runtime error
Runtime error
antonovmaxim
commited on
Commit
•
df00088
1
Parent(s):
b41cfb6
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -1,3 +1,5 @@
|
|
1 |
-
FROM nginx:alpine
|
|
|
|
|
2 |
|
3 |
-
COPY
|
|
|
1 |
+
FROM nginxinc/nginx-unprivileged:stable-alpine
|
2 |
+
# Install nginx and give permissions to 'pn'
|
3 |
+
# See https://www.rockyourcode.com/run-docker-nginx-as-non-root-user/
|
4 |
|
5 |
+
COPY nginx.conf /etc/nginx/conf.d/
|