Add Timestamp

This commit is contained in:
SergeantPanda 2025-05-08 10:56:05 -05:00
parent 26d33f0f92
commit cd5c6dff5f

View file

@ -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" && \