Skip to content

Commit 645d2d6

Browse files
authored
Merge pull request #90 from bitholla/develop
Dockerfile update to include specific folders for database jobs.
2 parents 035a9b6 + 5ba47aa commit 645d2d6

30 files changed

+14
-1148
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ templates/local/*.env.local
3131
templates/local/letsencrypt/*
3232

3333
templates/kubernetes/config/*
34+
35+
.DS_Store

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
FROM bitholla/hollaex-core:1.21.1
2-
3-
RUN rm -rf /app/mail && rm -rf /app/db
1+
FROM bitholla/hollaex-core:1.22.0
42

53
COPY ./mail /app/mail
64

75
COPY ./plugins /app/plugins
86

9-
COPY ./db /app/db
7+
COPY ./db/migrations /app/db/migrations
108

11-
EXPOSE 10011
9+
COPY ./db/seeders /app/db/seeders
1210

13-
RUN cd plugins && npm install --loglevel=error
11+
COPY ./db/models /app/db/models
1412

15-
RUN cd plugins && for d in ./*/ ; do (cd "$d" && npm install --loglevel=error); done
13+
EXPOSE 10011
1614

17-
RUN cd mail && npm install --loglevel=error
15+
RUN cd plugins && npm install --loglevel=error && \
16+
for d in ./*/ ; do (cd "$d" && npm install --loglevel=error); done && \
17+
cd /app/mail && npm install --loglevel=error

db/functions/calculate_accumlated_withdrawals.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

db/functions/calculate_acum.js

Lines changed: 0 additions & 47 deletions
This file was deleted.

db/functions/calculate_amount.js

Lines changed: 0 additions & 32 deletions
This file was deleted.

db/functions/check_balance.js

Lines changed: 0 additions & 60 deletions
This file was deleted.

db/functions/create-uuid.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

db/functions/drops.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

db/functions/get_limit_for_level.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

db/functions/get_user_fee.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)