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
@ -36,4 +37,4 @@ RUN cd /tmp \
ENV PATH "$PATH:/usr/local/go/bin"
# Confirm installation
RUN go version && node -v && yarn -v
RUN go version && node -v && yarn -v

View File

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