-
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.
* Updated configs Updated the configs to work with the lastest version of the Core LDWizard software (see PLDN repo). * Updated to latest core and TN rewrite * Activated error logging
- Loading branch information
1 parent
dd97289
commit a6d9613
Showing
12 changed files
with
5,257 additions
and
8,768 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 @@ | ||
--ignore-engines true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,27 @@ | ||
FROM node:14-alpine as build | ||
RUN apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python3 | ||
FROM node:18-alpine as build | ||
|
||
RUN apk --no-cache add g++ gcc libgcc libstdc++ linux-headers make python3 git | ||
RUN npm install --quiet node-gyp -g | ||
WORKDIR /app | ||
|
||
COPY package.json ./ | ||
COPY yarn.lock ./ | ||
RUN yarn | ||
COPY .yarn ./app/ | ||
COPY .yarnrc ./app/ | ||
RUN yarn | ||
|
||
COPY . . | ||
RUN yarn build | ||
|
||
ARG CONFIG_FILE | ||
RUN yarn exec ldwizard-build ${CONFIG_FILE} | ||
# RUN yarn add "@pldn/ldwizard" | ||
RUN yarn ldwizard-build ${CONFIG_FILE} | ||
|
||
|
||
FROM nginx:stable-alpine | ||
|
||
COPY --from=build /app/lib /usr/share/nginx/html | ||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf | ||
|
||
EXPOSE 80 | ||
CMD ["nginx", "-g", "daemon off;"] |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.