Commit c75c4519 by snake

= 镜像构建

parent 98ac943e
#### 镜像构建
```
docker build --rm -f dockerfile -t node-faye:private-minio-cto .
```
#### 运行容器
```
docker run -d --name faye --network host node-faye:private-minio-cto
```
---
== Faye Push Server Project == Faye Push Server Project
- https://github.com/faye/faye - https://github.com/faye/faye
......
FROM node:16.18.1-slim FROM node:16.18.1-slim
COPY ./ /data/node_faye COPY ./ /data/node_faye
RUN cd /data/node_faye && \ RUN cd /data/node_faye && \
rm -rf .git && \
echo npm -v && \ echo npm -v && \
npm install npm install
WORKDIR /data/node_faye WORKDIR /data/node_faye
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment