Switch to Nixpacks
This commit is contained in:
parent
4eeeb39506
commit
8a944a1e31
2 changed files with 0 additions and 29 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" ]
|
15
fly.toml
15
fly.toml
|
@ -1,15 +0,0 @@
|
|||
# fly.toml app configuration file generated for himbot on 2023-10-19T18:34:44-03:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = "himbot"
|
||||
primary_region = "sea"
|
||||
swap_size_mb = 512
|
||||
|
||||
[http_service]
|
||||
internal_port = 3000
|
||||
auto_stop_machines = true
|
||||
auto_start_machines = true
|
||||
min_machines_running = 1
|
||||
processes = ["app"]
|
Loading…
Add table
Reference in a new issue