-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from push-protocol/init-did-support
fix: added support for init did
- Loading branch information
Showing
53 changed files
with
4,196 additions
and
1,882 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
public | ||
build | ||
dist | ||
dist | ||
# *.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
public | ||
build | ||
dist | ||
dist | ||
# *.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,19 @@ | ||
FROM node:20.9.0 | ||
WORKDIR /app | ||
COPY . . | ||
FROM node:20.9.0 as builder | ||
COPY ./package.json ./yarn.lock ./ | ||
# RUN yarn install --immutable --production | ||
RUN yarn install | ||
|
||
|
||
FROM node:20.9.0 as runner | ||
|
||
# Copy in all the dependencies we need, by avoiding | ||
# installing them in this stage, we prevent Yarn | ||
# from including additional cache files, which | ||
# yields a slimmer image. | ||
COPY ./package.json ./ | ||
COPY --from=builder ./node_modules/ ./node_modules/ | ||
COPY . . | ||
EXPOSE 3001 | ||
EXPOSE 3002 | ||
EXPOSE 3003 | ||
CMD ["yarn", "start"] | ||
|
||
# todo find an error here ; probably a package json is not copied | ||
# todo discuss what is the best way to build the container | ||
#FROM node:20.9.0 | ||
# | ||
#WORKDIR /app | ||
# | ||
## Copy package.json and yarn.lock first | ||
#COPY yarn.lock ./ | ||
# | ||
## Install dependencies | ||
#RUN yarn install | ||
# | ||
## Copy the rest of the application files | ||
#COPY . . | ||
# | ||
## Expose ports | ||
#EXPOSE 3001 | ||
#EXPOSE 3002 | ||
#EXPOSE 3003 | ||
# | ||
## Start the application | ||
#CMD ["yarn", "start"] | ||
CMD ["yarn", "start"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.