mirror of https://github.com/logos-co/wadoku.git
18 lines
420 B
Plaintext
18 lines
420 B
Plaintext
|
# Specifies a parent image
|
|||
|
FROM golang:1.18
|
|||
|
|
|||
|
# Create the app directory to hold app’s source code
|
|||
|
|
|||
|
ADD waku-filter /go/bin/waku-filter
|
|||
|
RUN umask -S 202
|
|||
|
RUN mkdir -p /go/bin/out
|
|||
|
|
|||
|
ADD filter.go /go/src/filter.go
|
|||
|
ADD go.mod go.sum /go/src/
|
|||
|
|
|||
|
# Tells Docker which network port your container listens on
|
|||
|
EXPOSE 8080
|
|||
|
|
|||
|
# Specifies the executable command that runs when the container starts
|
|||
|
ENTRYPOINT [ "/go/bin/waku-filter"]
|