mirror of
https://github.com/easychen/pushdeer.git
synced 2025-02-22 16:04:56 +08:00
add info
This commit is contained in:
parent
b97cb44a14
commit
78a91d642b
@ -6,7 +6,7 @@ RUN apk --no-cache add mosquitto mosquitto-clients
|
|||||||
RUN npm install -g forever
|
RUN npm install -g forever
|
||||||
|
|
||||||
ADD mosquitto.conf /mosquitto.conf
|
ADD mosquitto.conf /mosquitto.conf
|
||||||
RUN /usr/sbin/mosquitto -c /mosquitto.conf -d
|
RUN /usr/sbin/mosquitto -c /mosquitto.conf -v -d
|
||||||
|
|
||||||
# 测试时注释掉下一行
|
# 测试时注释掉下一行
|
||||||
COPY api /api
|
COPY api /api
|
||||||
@ -14,6 +14,7 @@ COPY api /api
|
|||||||
COPY init.sh /init.sh
|
COPY init.sh /init.sh
|
||||||
RUN chmod +x /init.sh
|
RUN chmod +x /init.sh
|
||||||
EXPOSE 1883
|
EXPOSE 1883
|
||||||
|
EXPOSE 9001
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/sh", "/init.sh"]
|
ENTRYPOINT ["/bin/sh", "/init.sh"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user