This commit is contained in:
parent
c70fdb555d
commit
570787b882
3 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue