上传文件至 docker
This commit is contained in:
parent
d14b5c0758
commit
771d5d811e
|
@ -0,0 +1,10 @@
|
||||||
|
#bsm workspace
|
||||||
|
FROM alpine:latest
|
||||||
|
RUN apk --no-cache add ca-certificates
|
||||||
|
RUN mkdir -p /usr/local/bsm
|
||||||
|
ENTRYPOINT /usr/local/bsm
|
||||||
|
RUN curl -L -o /usr/bin/bsm http://oss.apinb.com/reles/bsm/bsm-tools/bsm@v0.1.2/bsm && chmod +x /usr/bin/bsm
|
||||||
|
RUN bsm install initialize
|
||||||
|
RUN bsm install passport
|
||||||
|
RUN bsm install notify
|
||||||
|
EXPOSE 12202 12218
|
|
@ -0,0 +1 @@
|
||||||
|
docker run -d --network=host -e "BlocksMesh_Workspace=senlinai" -e "BlocksMesh_Workspace=Cblocksmesh2022C" -e "BlocksMesh_RuntimeMode=prod" senlinai bsm:latest
|
Loading…
Reference in New Issue