Dockerfile fix

This commit is contained in:
2025-08-04 14:29:20 +03:00
parent ebef104401
commit afae0d672a

View File

@@ -78,16 +78,17 @@ RUN su -l --shell /bin/bash $UNAME -c 'wget https://raw.githubusercontent.com/li
ARG NOCACHE=0
## Install BitDeals module (apostol-dm)
#cmake -DCMAKE_BUILD_TYPE=Debug . -B cmake-build-debug' ; \
RUN su -l --shell /bin/bash $UNAME -c 'cd '$UHOME' ; \
git clone https://git.bitdeals.org/private/apostol-dm.git ; \
cd apostol-dm ; \
./configure ; \
cd cmake-build-release ; \
make' ; \
git config --global --add safe.directory $UHOME/apostol-dm ;\
cd $UHOME/apostol-dm/cmake-build-release ;\
make install
ENV BUILD_MODE='release'
#ENV BUILD_MODE='debug'
COPY . $UHOME/apostol-dm
RUN cd $UHOME/apostol-dm ; \
git config --global --add safe.directory $UHOME ;\
./configure --$BUILD_MODE; \
cd cmake-build-$BUILD_MODE; \
make ; \
make install
## to get web-bitdeals /app directory
FROM registry.bitdeals.org/web-bitdeals as web-bitdeals