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
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'