log into docker console

This commit is contained in:
Paolo Asperti 2021-10-01 15:40:56 +02:00
parent 05058884ee
commit 6da604ce44
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -1,4 +1,6 @@
FROM alpine:3.12 FROM alpine:3.12
RUN apk -U upgrade && apk add mosquitto mosquitto-clients openssl RUN \
apk -U upgrade && apk add mosquitto mosquitto-clients openssl && \
echo "log_dest stdout" >/etc/mosquitto/mosquitto.conf
EXPOSE 8883 EXPOSE 8883
ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"] ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"]