1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

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

This commit is contained in:
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