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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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'