update dockerfile, add dockerignore
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-09-21 13:00:28 -07:00
parent e68027843d
commit 488af3d373
7 changed files with 34 additions and 6 deletions

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