Install wamerican for /usr/share/dict/words

This commit is contained in:
Marc Di Luzio 2020-06-06 17:16:33 +01:00
parent 4645ef81e5
commit e804cdf12b

View file

@ -5,6 +5,10 @@ WORKDIR /app
COPY . .
RUN go mod download
# For /usr/share/dict/words
RUN apt-get update && apt-get install -y wamerican
RUN go build -o rove-server -ldflags="-X 'github.com/mdiluz/rove/pkg/version.Version=$(git describe --always --long --dirty --tags)'" cmd/rove-server/main.go
CMD [ "./rove-server" ]