format build time
All checks were successful
/ Text (push) Successful in 1m16s
/ Checkout (push) Successful in 3m28s

This commit is contained in:
david 2024-07-23 01:14:23 +02:00
parent c31d4266cd
commit f42519005c

View file

@ -54,8 +54,12 @@ RUN \
gem update --system && \ gem update --system && \
bundle config set app_config ${GEM_HOME} bundle config set app_config ${GEM_HOME}
USER ${NAME}
FROM development AS builder FROM development AS builder
USER root
COPY Gemfile Gemfile.lock package.json yarn.lock ./ COPY Gemfile Gemfile.lock package.json yarn.lock ./
RUN bundle install && yarn install RUN bundle install && yarn install
@ -120,7 +124,7 @@ COPY --from=builder /app/.bundle /app/.bundle
COPY --from=assets /app/public/assets /app/public/assets COPY --from=assets /app/public/assets /app/public/assets
RUN chown -R app:app /app/tmp /app/log /app/storage RUN chown -R app:app /app/tmp /app/log /app/storage
RUN date -u +"%Y-%m-%d %H:%M:%s" >> .build_version RUN date +"%Y-%m-%d %H:%M:%S %Z" >> .build_version
USER app USER app
# Using variables in command list is not possible: # Using variables in command list is not possible: