andreped commited on
Commit
95e0c4c
·
1 Parent(s): fe9fd6f

Created Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM nginx:alpine
2
+
3
+ RUN useradd -m -u 1000 user
4
+ USER user
5
+ ENV PATH="/home/user/.local/bin:$PATH"
6
+
7
+ WORKDIR /app
8
+
9
+ COPY index.html /usr/share/nginx/html
10
+ COPY nginx.conf /etc/nginx/nginx.conf
11
+
12
+ EXPOSE 7860
13
+
14
+ CMD ["nginx", "-g", "daemon off;"]