From ba3436fc7c8a0a16ecd457feaf55cfff0d8bb08e Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 29 Jan 2023 12:56:28 -0600 Subject: [PATCH] remove more fly things and tweak dockerfile --- Dockerfile | 2 +- config/runtime.exs | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce2a434..2c49eef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,7 +67,7 @@ RUN mix release # the compiled release and other runtime necessities FROM ${RUNNER_IMAGE} -RUN apt-get update -y && apt-get install -y libstdc++6 openssl libncurses5 locales \ +RUN apt-get update -y && apt-get install -y apt-utils libstdc++6 openssl libncurses5 locales \ && apt-get clean && rm -f /var/lib/apt/lists/*_* # Set the locale diff --git a/config/runtime.exs b/config/runtime.exs index 241a7df..2c6ed13 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -71,9 +71,11 @@ if config_env() == :prod do aprs_is_login_id: System.get_env("APRS_CALLSIGN"), aprs_is_password: System.get_env("APRS_PASSCODE") - app_name = - System.get_env("FLY_APP_NAME") || - raise "FLY_APP_NAME not available" + # app_name = + # System.get_env("FLY_APP_NAME") || + # raise "FLY_APP_NAME not available" + + app_name = "aprs" config :libcluster, debug: true,