mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
fix finally server pid issue at docker container restart
This commit is contained in:
parent
d58e0091bb
commit
28ade2a8d9
2 changed files with 12 additions and 0 deletions
4
Dockerfile
Normal file → Executable file
4
Dockerfile
Normal file → Executable file
|
@ -16,5 +16,9 @@ RUN bundle install
|
|||
ADD . /app
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
RUN chmod +x docker-entrypoint.sh
|
||||
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["rails", "server", "-b", "0.0.0.0"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue