From 22ab830ff3844ae75bc9a61413811e0fad5faa46 Mon Sep 17 00:00:00 2001 From: Klarstein <62219057+Klarstein@users.noreply.github.com> Date: Wed, 30 Dec 2020 10:58:09 +0100 Subject: [PATCH] Expose port 6052 in Dockerfile (#1437) --- docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 865741a39f..899a1654c6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,6 +12,9 @@ RUN pip3 install --no-cache-dir -e . # Settings for dashboard ENV USERNAME="" PASSWORD="" +# Expose the dashboard to Docker +EXPOSE 6052 + # The directory the user should mount their configuration files to WORKDIR /config # Set entrypoint to esphome so that the user doesn't have to type 'esphome'