Expose ports 8123, 8300 and 51827 in Dockerfile (#24389)

This commit is contained in:
John Luetke 2019-06-23 15:44:26 -04:00 committed by Johann Kellerman
parent a807572382
commit 09c6f57364
2 changed files with 8 additions and 0 deletions

View File

@ -32,4 +32,8 @@ RUN pip3 install --no-cache-dir -r requirements_all.txt && \
# Copy source
COPY . .
EXPOSE 8123
EXPOSE 8300
EXPOSE 51827
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]

View File

@ -58,4 +58,8 @@ RUN tox -e py37 --notest
# Copy source
COPY . .
EXPOSE 8123
EXPOSE 8300
EXPOSE 51827
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]