feat(docker): expose port 8000 in Dockerfile (#4016)

pull/4016/merge
Anthony Lapenna 2020-07-08 14:13:35 +12:00 committed by GitHub
parent c778ef6404
commit cd475a5338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,11 @@
FROM portainer/base
COPY dist /
VOLUME /data
WORKDIR /
EXPOSE 9000
EXPOSE 8000
ENTRYPOINT ["/portainer"]

View File

@ -1,7 +1,11 @@
FROM alpine:latest
COPY dist /
VOLUME /data
WORKDIR /
EXPOSE 9000
EXPOSE 8000
ENTRYPOINT ["/portainer"]

View File

@ -1,7 +1,8 @@
FROM ubuntu
# Expose port for the Portainer UI
# Expose port for the Portainer UI and Edge server
EXPOSE 9000
EXPOSE 8000
WORKDIR /src/portainer

View File

@ -5,5 +5,6 @@ COPY dist /
WORKDIR /
EXPOSE 9000
EXPOSE 8000
ENTRYPOINT ["/portainer.exe"]