add web-bitdeals
This commit is contained in:
@@ -89,14 +89,8 @@ RUN su -l --shell /bin/bash $UNAME -c 'cd '$UHOME' ; \
|
||||
cd $UHOME/apostol-dm/cmake-build-release ;\
|
||||
make install
|
||||
|
||||
## Download "build" directory from web-build repository
|
||||
RUN su -l --shell /bin/bash $UNAME -c 'cd '$UHOME' ; \
|
||||
mkdir web-build ;\
|
||||
cd web-build ;\
|
||||
git init ;\
|
||||
git remote add -f origin https://git.bitdeals.org/private/web-build/ ;\
|
||||
echo build >> .git/info/sparse-checkout ;\
|
||||
git pull origin master'
|
||||
## to get web-bitdeals /app directory
|
||||
FROM registry.bitdeals.org/web-bitdeals as web-bitdeals
|
||||
|
||||
FROM updated-debian
|
||||
|
||||
@@ -108,11 +102,11 @@ ENV UHOME=$UHOME
|
||||
COPY --from=development /usr/local/ /usr/local/
|
||||
COPY --from=development /etc/dm/ /etc/dm/
|
||||
COPY --from=development /usr/sbin/dm /usr/sbin/dm
|
||||
COPY --from=development --chown=www-data:www-data $UHOME/web-build/build /var/www/web
|
||||
COPY --from=development --chown=$UNAME:$UNAME $UHOME/apostol-dm/docker/bitdeals-testnet.asc /etc/dm/bitdeals-testnet.asc
|
||||
COPY --from=development --chown=$UNAME:$UNAME $UHOME/apostol-dm/docker/bitdeals.asc /etc/dm/bitdeals.asc
|
||||
COPY --from=development $UHOME/apostol-dm/docker/run.sh /run.sh
|
||||
COPY --from=development $UHOME/apostol-dm/docker/dm /opt
|
||||
COPY --from=web-bitdeals --chown=www-data:www-data /app /var/www/app
|
||||
COPY ./docker/nginx.conf /etc/nginx/sites-enabled/default
|
||||
|
||||
## Generate bx testnet config
|
||||
|
||||
Reference in New Issue
Block a user