Skip to content

Commit dd53c46

Browse files
authored
Merge pull request #68 from wwWallet/protocols-to-client
Protocols to client
2 parents a7ce8cd + e0fcac8 commit dd53c46

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+411
-3329
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ ssl_keys
88
*.tar.gz
99
config.production*.*
1010
.npmrc
11+
**/config/index.ts

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FROM node:18-bullseye-slim AS builder
33
WORKDIR /app
44

55
COPY . .
6-
RUN --mount=type=secret,id=npmrc,required=true,target=./.npmrc,uid=1000 \
7-
apt-get update -y && apt-get install g++ python3 make -y && yarn cache clean && yarn install && yarn build
6+
COPY ./config/config.template.ts ./config/index.ts
7+
RUN apt-get update -y && apt-get install g++ python3 make -y && yarn cache clean && yarn install && yarn build
88

99
# Production stage
1010
FROM node:18-bullseye-slim AS production
@@ -16,10 +16,9 @@ COPY --from=builder /app/public ./public
1616

1717

1818

19-
RUN --mount=type=secret,id=npmrc,required=true,target=./.npmrc,uid=1000 \
20-
apt-get update -y && apt-get install g++ python3 make -y && yarn install --production
19+
RUN apt-get update -y && apt-get install g++ python3 make -y && yarn install --production
2120

22-
ENV NODE_ENV production
21+
ENV NODE_ENV=production
2322

2423
EXPOSE 8002
2524

cli/.dockerignore

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

cli/Dockerfile

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

cli/configwallet.js

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

cli/package.json

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

0 commit comments

Comments
 (0)