diff options
| author | diogo464 <[email protected]> | 2024-10-01 17:11:25 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2024-10-01 17:11:25 +0100 |
| commit | d89fc43a15e639f8766a41c77b24cc281b501164 (patch) | |
| tree | 517399770a570e48419482f85e77fa639657b2eb | |
| parent | ece33434ee227d864ac4b2aeecce3b8f46085567 (diff) | |
fixed build
| -rw-r--r-- | Containerfile | 6 | ||||
| -rwxr-xr-x | build.sh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Containerfile b/Containerfile index 2554194..5b51ca6 100644 --- a/Containerfile +++ b/Containerfile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | FROM alpine:latest | 1 | FROM debian:bookworm-slim |
| 2 | WORKDIR /app | 2 | WORKDIR /app/data |
| 3 | COPY belverde-fire . | 3 | COPY belverde-fire /app/belverde-fire |
| 4 | ENTRYPOINT ["/app/belverde-fire"] | 4 | ENTRYPOINT ["/app/belverde-fire"] |
| @@ -1,6 +1,6 @@ | |||
| 1 | #!/usr/bin/env sh | 1 | #!/usr/bin/env sh |
| 2 | 2 | ||
| 3 | CGO_ENABLED=0 go build . || exit 1 | 3 | go build . || exit 1 |
| 4 | docker build -t git.d464.sh/diogo464/belverde-fire -f Containerfile . || exit 1 | 4 | docker build -t git.d464.sh/diogo464/belverde-fire -f Containerfile . || exit 1 |
| 5 | 5 | ||
| 6 | if [ "$PUSH" = "1" ]; then | 6 | if [ "$PUSH" = "1" ]; then |
