try this
This commit is contained in:
parent
24990ff94b
commit
66de28a172
2 changed files with 0 additions and 36 deletions
14
Dockerfile
14
Dockerfile
|
@ -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" ]
|
22
fly.toml
22
fly.toml
|
@ -1,22 +0,0 @@
|
|||
# fly.toml app configuration file generated for atridad on 2023-12-17T17:25:08-07:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = "atridad"
|
||||
primary_region = "sea"
|
||||
|
||||
[build]
|
||||
|
||||
[http_service]
|
||||
internal_port = 3000
|
||||
force_https = true
|
||||
auto_stop_machines = true
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
processes = ["app"]
|
||||
|
||||
[[vm]]
|
||||
cpu_kind = "shared"
|
||||
cpus = 1
|
||||
memory_mb = 256
|
Loading…
Add table
Reference in a new issue