Skip to content

Commit

Permalink
good lord
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen committed Nov 19, 2023
1 parent ff3ca32 commit b707003
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ RUN set -x && \
# This will be for local non-github versions
if [ -z "${ACARS_VERSION}" ]; then ACARS_VERSION="0.0.0"; fi && \
if [ -z "${ACARS_BUILD}" ]; then ACARS_BUILD="0"; fi && \
printf "v%sBuild%s" "$ACARS_VERSION" "$ACARS_BUILD" > /acarshub_version
printf "v%sBuild%s" "$ACARS_VERSION" "$ACARS_BUILD" > /acarshub_version && \
printf "v%s Build %s\nv%sBuild%s" "$ACARS_VERSION" "$ACARS_BUILD" "$ACARS_VERSION" "$ACARS_BUILD" > /version && \

EXPOSE 80
EXPOSE 80
EXPOSE 5550
EXPOSE 5555
EXPOSE 15550
Expand Down
2 changes: 1 addition & 1 deletion rootfs/webapp/acarshub_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
if LOCAL_TEST:
version_path = "../../version"
else:
version_path = "/acarshub_version"
version_path = "/version"

with open(version_path, "r") as f:
lines = f.read()
Expand Down

0 comments on commit b707003

Please sign in to comment.