Skip to content
Snippets Groups Projects
Commit f37a1f78 authored by Jan Grewe's avatar Jan Grewe
Browse files

compile resources on startup, to use proper server hostname

parent 285d2541
Branches
No related tags found
No related merge requests found
...@@ -22,8 +22,7 @@ RUN apk add --no-cache \ ...@@ -22,8 +22,7 @@ RUN apk add --no-cache \
procps \ procps \
redis \ redis \
tar \ tar \
wget \ wget
yarn
# build packages # build packages
RUN apk add --no-cache \ RUN apk add --no-cache \
...@@ -34,7 +33,8 @@ RUN apk add --no-cache \ ...@@ -34,7 +33,8 @@ RUN apk add --no-cache \
icu-dev \ icu-dev \
libxml2-dev \ libxml2-dev \
make \ make \
perl-dev perl-dev \
yarn
ARG MB_VERSION="v-2019-06-03" ARG MB_VERSION="v-2019-06-03"
......
#!/bin/bash #!/bin/bash
./script/dbdefs_to_js.pl ./script/compile_resources.sh
export MUSICBRAINZ_USE_PROXY=1 export MUSICBRAINZ_USE_PROXY=1
/usr/local/bin/plackup -Ilib -E deployment --keep-stderr=1 >/dev/stdout 2>&1 /usr/local/bin/plackup -Ilib -E deployment --keep-stderr=1 >/dev/stdout 2>&1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment