Expose ports 8123, 8300 and 51827 in Dockerfile (#24389)
This commit is contained in:
parent
a807572382
commit
09c6f57364
2 changed files with 8 additions and 0 deletions
|
@ -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" ]
|
||||
|
|
|
@ -58,4 +58,8 @@ RUN tox -e py37 --notest
|
|||
# Copy source
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8123
|
||||
EXPOSE 8300
|
||||
EXPOSE 51827
|
||||
|
||||
CMD [ "python", "-m", "homeassistant", "--config", "/config" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue