Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protocols to client #68

Merged
merged 16 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading