diff --git a/build/linux/Dockerfile b/build/linux/Dockerfile index dbaffed51..7427e5f5b 100644 --- a/build/linux/Dockerfile +++ b/build/linux/Dockerfile @@ -1,7 +1,11 @@ FROM portainer/base + COPY dist / + VOLUME /data WORKDIR / + EXPOSE 9000 +EXPOSE 8000 ENTRYPOINT ["/portainer"] diff --git a/build/linux/alpine.Dockerfile b/build/linux/alpine.Dockerfile index d3e4a73e9..3825fb13f 100644 --- a/build/linux/alpine.Dockerfile +++ b/build/linux/alpine.Dockerfile @@ -1,7 +1,11 @@ FROM alpine:latest + COPY dist / + VOLUME /data WORKDIR / + EXPOSE 9000 +EXPOSE 8000 ENTRYPOINT ["/portainer"] diff --git a/build/linux/toolkit.Dockerfile b/build/linux/toolkit.Dockerfile index 1f1ac4376..1f7938df3 100644 --- a/build/linux/toolkit.Dockerfile +++ b/build/linux/toolkit.Dockerfile @@ -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 \ No newline at end of file +RUN go version && node -v && yarn -v diff --git a/build/windows2016/nanoserver/Dockerfile b/build/windows2016/nanoserver/Dockerfile index f6ae5cfb0..f41f276d7 100644 --- a/build/windows2016/nanoserver/Dockerfile +++ b/build/windows2016/nanoserver/Dockerfile @@ -5,5 +5,6 @@ COPY dist / WORKDIR / EXPOSE 9000 +EXPOSE 8000 ENTRYPOINT ["/portainer.exe"]