forked from IQTLabs/SkyScan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arizbeth Rojas
committed
May 9, 2023
1 parent
79ce36a
commit 24eeabd
Showing
2 changed files
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
#ENTRYPOINT ["/usr/sbin/mosquitto", "-v", "-c", "/etc/mosquitto/mosquitto.conf"] | ||
#ENTRYPOINT ["/bin/sh"] | ||
|
||
FROM eclipse-mosquitto | ||
FROM alpine:3.17 | ||
LABEL maintainer = "Arizbeth Rojas <[email protected]>" | ||
RUN apk update && apk add --no-cache certbot curl | ||
RUN apk add --update curl mosquitto && rm -rf /var/cache/apk/* | ||
|
@@ -17,6 +17,6 @@ EXPOSE 8883 443 | |
#ENTRYPOINT ["/bin/sh", "$(cat /login_info_MQTT)"] | ||
#ENTRYPOINT ["/bin/sh"] | ||
COPY mqtt.sh . | ||
RUN chmod +x /mqtt.sh | ||
RUN chmod +x ./mqtt.sh | ||
ENTRYPOINT ["./mqtt.sh"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters