mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 23:34:00 +08:00
添加容器化部署方式
This commit is contained in:
13
ui/Dockerfile-ui
Normal file
13
ui/Dockerfile-ui
Normal 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"]
|
Reference in New Issue
Block a user