修复nginx转发问题

This commit is contained in:
向锋
2019-11-07 18:55:41 +08:00
parent 0472017b29
commit 2e8b3eb762
4 changed files with 15 additions and 28 deletions

13
ui/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM alpine:3.9
LABEL description="cmdb-ui"
RUN mkdir -p /data/apps/cmdb-ui/logs
COPY . /data/apps/cmdb-ui
WORKDIR /data/apps/cmdb-ui
RUN apk add yarn && yarn install
CMD ["sh", "-c", "yarn run serve"]