Fix VERSION file handling in Dockerfile
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
feab8c2ca0
commit
52536db6d9
|
@ -14,8 +14,7 @@ RUN apt-get update && apt-get install -y \
|
|||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy VERSION file
|
||||
COPY ../VERSION ./VERSION
|
||||
# Set version from build arg
|
||||
ARG APP_VERSION=unknown
|
||||
ENV APP_VERSION=${APP_VERSION}
|
||||
|
||||
|
|
Loading…
Reference in New Issue