add build version
Some checks failed
/ Checkout (push) Failing after 47s

This commit is contained in:
david 2024-07-22 04:55:30 +02:00
parent c70fdb555d
commit 570787b882
3 changed files with 4 additions and 1 deletions

View file

@ -124,4 +124,6 @@ RUN chown -R app:app /app/tmp /app/log /app/storage
USER app
# Using variables in command list is not possible:
# https://stackoverflow.com/questions/40454470/how-can-i-use-a-variable-inside-a-dockerfile-cmd
CMD [ "rails", "server", "--binding", "0.0.0.0", "--no-daemon", "--port" , "3000" ]
CMD [ "rails", "server", "--binding", "0.0.0.0", "--no-daemon", "--port" , "3000" ]
RUN date -u +"%Y-%m-%d %H:%M:%s" >> .build_version