修复nginx转发问题

This commit is contained in:
fxiang21
2019-11-07 18:55:41 +08:00
committed by pycook
parent aad37dcf0b
commit ef6300255a
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"]