mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-04 19:01:21 +00:00
🔨 Compile on build
This commit is contained in:
parent
9d23c5eb21
commit
79adbb3589
2 changed files with 3 additions and 2 deletions
|
@ -10,11 +10,11 @@ COPY rootfs /
|
|||
RUN \
|
||||
apk add --no-cache --virtual .build-dependencies \
|
||||
git=2.22.0-r0 \
|
||||
yarn=1.16.0-r0 \
|
||||
\
|
||||
&& apk add --no-cache \
|
||||
nginx=1.16.1-r0 \
|
||||
nodejs-current=12.4.0-r0 \
|
||||
yarn=1.16.0-r0 \
|
||||
\
|
||||
# TODO: Replace with release tag
|
||||
&& git clone --branch "master" --depth=1 \
|
||||
|
@ -30,6 +30,7 @@ RUN \
|
|||
\
|
||||
&& cd /opt/panel \
|
||||
&& yarn install \
|
||||
&& yarn compile \
|
||||
\
|
||||
&& yarn cache clean \
|
||||
&& apk del --purge .build-dependencies \
|
||||
|
|
|
@ -16,4 +16,4 @@ export LOG_LEVEL
|
|||
export SSL_SUPPRESS_WARNING
|
||||
export SUPPRESS_ADDRESS
|
||||
|
||||
exec yarn run compile && node lib/
|
||||
exec node lib/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue