mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update windmill
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
b083c4224e
commit
2f7705a41a
|
@ -1,6 +1,7 @@
|
|||
FROM ruby:alpine
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
ca-certificates \
|
||||
libxml2 \
|
||||
libxslt \
|
||||
|
@ -27,4 +28,7 @@ RUN set -x \
|
|||
|
||||
WORKDIR /usr/src/windmill
|
||||
|
||||
CMD [ "rake", "db:setup", "&&", "ruby", "server.rb" ]
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
|
||||
ENTRYPOINT [ "entrypoint.sh" ]
|
||||
CMD [ "ruby", "server.rb" ]
|
||||
|
|
7
windmill/entrypoint.sh
Executable file
7
windmill/entrypoint.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
rake db:setup
|
||||
|
||||
exec "$@"
|
Loading…
Reference in New Issue
Block a user