Compare commits
2 Commits
78ee9ac9da
...
10290fd28d
| Author | SHA1 | Date | |
|---|---|---|---|
| 10290fd28d | |||
| b26a6a2d0a |
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.venv
|
||||||
|
__pycache__/
|
||||||
@@ -4,6 +4,7 @@ RUN apk add --no-cache ca-certificates
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY VERSION /VERSION
|
||||||
COPY /app/ /app/
|
COPY /app/ /app/
|
||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ import logging
|
|||||||
import json
|
import json
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
VERSION = "4.0.2"
|
# Read version from VERSION file
|
||||||
|
with open(os.path.join(os.path.dirname(os.path.dirname(__file__)), "VERSION"), "r", encoding="utf-8") as f:
|
||||||
|
VERSION = f.read().strip()
|
||||||
|
|
||||||
# Logger setup
|
# Logger setup
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
|
|||||||
Reference in New Issue
Block a user