Add doc
This commit is contained in:
1 parent
16dd04c87d
commit
95f375f053
2 files changed
+21
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
FROM node:20-alpine as build-deps
|
||||
WORKDIR /usr/src/app
|
||||
COPY . ./
|
||||
RUN apk add git
|
||||
RUN npm install
|
||||
RUN npm build
|
||||
|
||||
FROM nginx:1.25-alpine-slim
|
||||
EXPOSE 8082
|
||||
COPY cfg/8082_isp-admin-ui.conf /etc/nginx/conf.d/8081_isp-admin-ui.conf
|
||||
COPY --from=build-deps /usr/src/app/build /opt/msp/isp-admin-ui
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
server {
|
||||
listen 8081;
|
||||
server_name localhost;
|
||||
root /opt/msp/isp-admin-ui/;
|
||||
|
||||
location / {
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user