1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 19:32:19 +01:00

Expose port 6052 in Dockerfile (#1437)

This commit is contained in:
Klarstein
2020-12-30 10:58:09 +01:00
committed by GitHub
parent 095d3181cd
commit 22ab830ff3

View File

@@ -12,6 +12,9 @@ RUN pip3 install --no-cache-dir -e .
# Settings for dashboard # Settings for dashboard
ENV USERNAME="" PASSWORD="" ENV USERNAME="" PASSWORD=""
# Expose the dashboard to Docker
EXPOSE 6052
# The directory the user should mount their configuration files to # The directory the user should mount their configuration files to
WORKDIR /config WORKDIR /config
# Set entrypoint to esphome so that the user doesn't have to type 'esphome' # Set entrypoint to esphome so that the user doesn't have to type 'esphome'