-
Notifications
You must be signed in to change notification settings - Fork 56
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 #759 from EYBlockchain/westlad/pausable
Implement admin container and pausable contracts
- Loading branch information
Showing
30 changed files
with
7,233 additions
and
115 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM node:14.17 | ||
|
||
WORKDIR /app | ||
COPY common-files common-files | ||
COPY cli cli | ||
WORKDIR /app/common-files | ||
RUN npm ci | ||
WORKDIR /app/cli | ||
RUN npm ci | ||
|
||
WORKDIR /app/admin | ||
COPY config/default.js config/default.js | ||
RUN apt-get update -y | ||
RUN apt-get install -y netcat-openbsd | ||
COPY nightfall-administrator/src src | ||
COPY nightfall-administrator/docker-entrypoint.sh nightfall-administrator/package*.json nightfall-administrator/admin ./ | ||
|
||
# websocket port 8080 | ||
# EXPOSE 8080 | ||
|
||
RUN npm ci | ||
ENTRYPOINT ["/app/admin/docker-entrypoint.sh"] | ||
|
||
CMD ["sleep", "infinity"] |
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.