Skip to content

Commit

Permalink
Merge pull request #68 from wwWallet/protocols-to-client
Browse files Browse the repository at this point in the history
Protocols to client
  • Loading branch information
kkmanos authored Oct 7, 2024
2 parents a7ce8cd + e0fcac8 commit dd53c46
Show file tree
Hide file tree
Showing 45 changed files with 411 additions and 3,329 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ ssl_keys
*.tar.gz
config.production*.*
.npmrc
**/config/index.ts
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM node:18-bullseye-slim AS builder
WORKDIR /app

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

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



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

ENV NODE_ENV production
ENV NODE_ENV=production

EXPOSE 8002

Expand Down
6 changes: 0 additions & 6 deletions cli/.dockerignore

This file was deleted.

10 changes: 0 additions & 10 deletions cli/Dockerfile

This file was deleted.

146 changes: 0 additions & 146 deletions cli/configwallet.js

This file was deleted.

19 changes: 0 additions & 19 deletions cli/package.json

This file was deleted.

Loading

0 comments on commit dd53c46

Please sign in to comment.