docker: fix ltcd ports

Fixes execution in `start-ltcctl.sh` and simplifies building `PARAMS`


fixes `ltcctl` execution
This commit is contained in:
Bjarne Magnussen committed 2019-11-06 10:05:06 +01:00
1 parent 1a5e39db88
commit 0328348431
5 files changed
+24 -18

No files matched your search

+2 -5
View File
@@ -14,17 +14,14 @@ RUN GO111MODULE=on go install . ./cmd/ltcctl ./cmd/gencerts
FROM alpine as final
# Expose mainnet ports (server, rpc)
EXPOSE 8333 8334
EXPOSE 9333 9334
# Expose testnet ports (server, rpc)
EXPOSE 18333 18334
EXPOSE 19334 19335
# Expose simnet ports (server, rpc)
EXPOSE 18555 18556
# Expose segnet ports (server, rpc)
EXPOSE 28901 28902
# Copy the compiled binaries from the builder image.
COPY --from=builder /go/bin/ltcctl /bin/
COPY --from=builder /go/bin/ltcd /bin/