Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
@@ -4,12 +4,8 @@ FROM nginx:latest
|
|
4 |
#=================================================================
|
5 |
USER root
|
6 |
#=================================================================
|
7 |
-
RUN groupadd user && \
|
8 |
-
useradd -d /home/user -ms /bin/bash -g user -G user -p user user
|
9 |
|
10 |
COPY nginx.conf /etc/nginx/nginx.conf
|
11 |
-
|
12 |
-
# Copy static HTML content
|
13 |
COPY html /usr/share/nginx/html
|
14 |
|
15 |
RUN mkdir -p /var/cache/nginx \
|
|
|
4 |
#=================================================================
|
5 |
USER root
|
6 |
#=================================================================
|
|
|
|
|
7 |
|
8 |
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
|
|
9 |
COPY html /usr/share/nginx/html
|
10 |
|
11 |
RUN mkdir -p /var/cache/nginx \
|