Initial builded version
Change-Id: I8937a5b559134d1d6029d16e9831c961287fee0c
This commit is contained in:
commit
13ab39d1fd
57 changed files with 1186 additions and 0 deletions
12
source/app/docker/Dockerfile
Normal file
12
source/app/docker/Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM nginx:1.13.9-alpine
|
||||
|
||||
RUN mkdir app
|
||||
RUN mkdir -p /run/nginx
|
||||
|
||||
COPY build /app
|
||||
COPY docker/nginx/conf.d/ /etc/nginx/conf.d/
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
VOLUME [ "/etc/nginx/conf.d" ]
|
||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
13
source/app/docker/nginx/conf.d/default.conf
Normal file
13
source/app/docker/nginx/conf.d/default.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
server_name _;
|
||||
|
||||
root /app;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue