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'