fixed crashing when no config was found
This commit is contained in:
parent
82c098aa0d
commit
d48f3f9737
2 changed files with 1 additions and 4 deletions
|
@ -33,11 +33,8 @@ RUN apk --no-cache add \
|
||||||
su-exec \
|
su-exec \
|
||||||
tzdata
|
tzdata
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
COPY docker /
|
COPY docker /
|
||||||
COPY --from=build-env /go/src/code.vikunja.io/api/vikunja /app/vikunja/api
|
COPY --from=build-env /go/src/code.vikunja.io/api/vikunja /app/vikunja/api
|
||||||
#RUN ln -s /app/vikunja/vikunja /usr/local/bin/vikunja
|
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"]
|
ENTRYPOINT ["/bin/s6-svscan", "/etc/services.d"]
|
||||||
CMD []
|
CMD []
|
||||||
|
|
|
@ -42,7 +42,7 @@ func InitConfig() (err error) {
|
||||||
fmt.Println("Using defaults.")
|
fmt.Println("Using defaults.")
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func random(length int) (string, error) {
|
func random(length int) (string, error) {
|
||||||
|
|
Loading…
Reference in a new issue