mirror of https://github.com/status-im/go-waku.git
fix: dockerfile
This commit is contained in:
parent
7b3c853c15
commit
cc88d46773
|
@ -1,5 +1,5 @@
|
||||||
# BUILD IMAGE --------------------------------------------------------
|
# BUILD IMAGE --------------------------------------------------------
|
||||||
FROM golang:1.16-alpine as builder
|
FROM golang:1.17-alpine as builder
|
||||||
|
|
||||||
# Get build tools and required header files
|
# Get build tools and required header files
|
||||||
RUN apk add --no-cache build-base
|
RUN apk add --no-cache build-base
|
||||||
|
@ -26,8 +26,8 @@ LABEL commit=$GIT_COMMIT
|
||||||
# color, nocolor, json
|
# color, nocolor, json
|
||||||
ENV GOLOG_LOG_FMT=nocolor
|
ENV GOLOG_LOG_FMT=nocolor
|
||||||
|
|
||||||
# go-waku default port
|
# go-waku default ports
|
||||||
EXPOSE 9000
|
EXPOSE 9000 30303 60000 60001 8008 8009
|
||||||
|
|
||||||
COPY --from=builder /app/build/waku /usr/bin/waku
|
COPY --from=builder /app/build/waku /usr/bin/waku
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue