mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
Add Timestamp
This commit is contained in:
parent
26d33f0f92
commit
cd5c6dff5f
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ COPY --from=frontend-builder /app/frontend/dist /app/frontend/dist
|
|||
# Run Django collectstatic
|
||||
RUN python manage.py collectstatic --noinput
|
||||
|
||||
# Add timestamp argument
|
||||
ARG TIMESTAMP
|
||||
|
||||
# Update version.py with build timestamp if provided
|
||||
RUN if [ -n "$TIMESTAMP" ]; then \
|
||||
echo "Updating timestamp to ${TIMESTAMP} in version.py" && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue