Commit 77a4852b authored by ya's avatar ya

use entrypoint pattern

parent 62daf4c8
......@@ -4,4 +4,4 @@ RUN apt-get update && apt-get upgrade -y
RUN apt-get install nodejs -y
EXPOSE 5000
CMD bundle exec rails server -p $PORT -e $RACK_ENV
CMD ["/usr/src/app/docker-entrypoint.sh"]
#!/usr/bin/env bash
bundle exec rails server -p $PORT -e $RACK_ENV
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment