Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -5,6 +5,9 @@ FROM nginx:latest
|
|
5 |
USER root
|
6 |
#=================================================================
|
7 |
|
|
|
|
|
|
|
8 |
COPY nginx.conf /etc/nginx/nginx.conf
|
9 |
COPY html /usr/share/nginx/html
|
10 |
|
|
|
5 |
USER root
|
6 |
#=================================================================
|
7 |
|
8 |
+
RUN groupadd user && \
|
9 |
+
useradd -d /home/user -ms /bin/bash -g user -G user -p user user
|
10 |
+
|
11 |
COPY nginx.conf /etc/nginx/nginx.conf
|
12 |
COPY html /usr/share/nginx/html
|
13 |
|