Skip to content

Commit

Permalink
Add better version tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed Mar 15, 2024
1 parent faa0889 commit 6a6ca27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:latest as base
LABEL maintainer="DRKZ-CLINT"
LABEL repository="https://github.com/FREVA-CLINT/databrowserAPI"
LABEL release=<VERSION>
LABEL org.opencontainers.image.authors="DRKZ-CLINT"
LABEL org.opencontainers.image.source="https://github.com/FREVA-CLINT/databrowserAPI"
LABEL org.opencontainers.image.version=<VERSION>
ENV API_CONFIG=/opt/databrowser/api_config.toml \
API_PORT=8080\
API_WORKER=8\
Expand Down
2 changes: 1 addition & 1 deletion src/databrowser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@


if __name__ == "__main__":
print(f"v{__version__}")
print(__version__)

0 comments on commit 6a6ca27

Please sign in to comment.