mirror of https://github.com/portainer/portainer
feat(docker): expose port 8000 in Dockerfile (#4016)
parent
c778ef6404
commit
cd475a5338
|
@ -1,7 +1,11 @@
|
||||||
FROM portainer/base
|
FROM portainer/base
|
||||||
|
|
||||||
COPY dist /
|
COPY dist /
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
ENTRYPOINT ["/portainer"]
|
ENTRYPOINT ["/portainer"]
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
COPY dist /
|
COPY dist /
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
ENTRYPOINT ["/portainer"]
|
ENTRYPOINT ["/portainer"]
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
FROM ubuntu
|
FROM ubuntu
|
||||||
|
|
||||||
# Expose port for the Portainer UI
|
# Expose port for the Portainer UI and Edge server
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
WORKDIR /src/portainer
|
WORKDIR /src/portainer
|
||||||
|
|
||||||
|
|
|
@ -5,5 +5,6 @@ COPY dist /
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
EXPOSE 8000
|
||||||
|
|
||||||
ENTRYPOINT ["/portainer.exe"]
|
ENTRYPOINT ["/portainer.exe"]
|
||||||
|
|
Loading…
Reference in New Issue