From f4bbcdf23d92ae2452b2834f6f608023d5e578a7 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Tue, 2 Apr 2024 18:48:28 -0600 Subject: [PATCH] Switch to Nixpacks --- Dockerfile | 14 -------------- fly.toml | 22 ---------------------- 2 files changed, 36 deletions(-) delete mode 100644 Dockerfile delete mode 100644 fly.toml diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index d58aae7..0000000 --- a/Dockerfile +++ /dev/null @@ -1,14 +0,0 @@ -FROM golang:1.22.0 as build - -WORKDIR /app - -COPY . . - -RUN go mod download -RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /go/bin/app - -FROM gcr.io/distroless/base-debian12 - -COPY --from=build /go/bin/app / - -CMD [ "/app" ] diff --git a/fly.toml b/fly.toml deleted file mode 100644 index c1cbfab..0000000 --- a/fly.toml +++ /dev/null @@ -1,22 +0,0 @@ -# fly.toml app configuration file generated for goth-stack on 2024-01-17T12:09:47-07:00 -# -# See https://fly.io/docs/reference/configuration/ for information about how to use this file. -# - -app = "goth-stack" -primary_region = "sea" - -[build] - -[http_service] - internal_port = 3000 - force_https = true - auto_stop_machines = true - auto_start_machines = true - min_machines_running = 0 - processes = ["app"] - -[[vm]] - cpu_kind = "shared" - cpus = 1 - memory_mb = 256