update dockerfile, add dockerignore
continuous-integration/drone/push Build is passing

This commit is contained in:
sneak committed 2020-09-21 13:00:28 -07:00
1 parent e68027843d
commit 488af3d373
7 files changed
+34 -6

No files matched your search

+8
View File
@@ -5,6 +5,8 @@ import (
"os"
"time"
"github.com/joho/godotenv"
"git.eeqj.de/sneak/formless/database"
_ "github.com/jinzhu/gorm/dialects/postgres"
_ "github.com/jinzhu/gorm/dialects/sqlite"
@@ -17,6 +19,12 @@ import (
// CLIEntry is the main entrypoint
func CLIEntry(version string, buildarch string) int {
err := godotenv.Load()
if err != nil {
panic("Error loading .env file")
}
f := new(Formless)
f.version = version
f.buildarch = buildarch