dictionary
This commit is contained in:
parent
001af90911
commit
f641af4bc4
|
|
@ -16,7 +16,8 @@ LABEL "email"="ysg@myschools.me"
|
|||
ENV APP_DIR=/app \
|
||||
addr=0.0.0.0 \
|
||||
port=5678 \
|
||||
data="/data/gofound"
|
||||
data="/data/gofound" \
|
||||
dictionary="/data/gofound"
|
||||
|
||||
COPY --from=builder /app/gofound ${APP_DIR}/gofound
|
||||
|
||||
|
|
@ -26,4 +27,4 @@ EXPOSE 5678
|
|||
|
||||
RUN chmod +x gofound
|
||||
|
||||
CMD ["/app/gofound"]
|
||||
CMD ["./gofound"]
|
||||
|
|
|
|||
2
go.mod
2
go.mod
|
|
@ -13,7 +13,6 @@ require (
|
|||
github.com/syndtr/goleveldb v1.0.0
|
||||
github.com/unrolled/secure v1.13.0
|
||||
github.com/wangbin/jiebago v0.3.2
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
)
|
||||
|
||||
require (
|
||||
|
|
@ -43,4 +42,5 @@ require (
|
|||
golang.org/x/text v0.3.7 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f // indirect
|
||||
google.golang.org/protobuf v1.28.0 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue