Skip to content
Snippets Groups Projects
Verified Commit 9c89a9e9 authored by David Beniamine's avatar David Beniamine
Browse files

Make configurable

parent 8018dbd5
Branches
No related tags found
No related merge requests found
...@@ -4,4 +4,6 @@ RUN apt-get update && apt-get -y install nodejs ...@@ -4,4 +4,6 @@ RUN apt-get update && apt-get -y install nodejs
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
RUN bundle install RUN bundle install
ENV ENV developpement
ENV IP 0.0.0.0
ENTRYPOINT /app/entrypoint.sh ENTRYPOINT /app/entrypoint.sh
#!/bin/bash #!/bin/bash
./bin/rails db:migrate ./bin/rails db:migrate
./bin/rails server -b 0.0.0.0 ./bin/rails server -e $ENV -b $IP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment