-
-
Notifications
You must be signed in to change notification settings - Fork 117
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 #293 from skadefro/master
Release 1.5.10
- Loading branch information
Showing
204 changed files
with
17,968 additions
and
51,427 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
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,4 +1,4 @@ | ||
{ | ||
"require": "./register.js", | ||
"reporter": "dot" | ||
} | ||
"$schema": "https://json.schemastore.org/mocharc.json", | ||
"require": ["./register.js","tsx"] | ||
} |
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 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 |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
"options": [ | ||
"--proto_path=messages" | ||
] | ||
} | ||
}, | ||
"compile-hero.disable-compile-files-on-did-save-code": true | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,32 +1,33 @@ | ||
FROM node:lts-alpine as builder | ||
# --omit=optional | ||
RUN npm install gulp typescript browserify tsify -g | ||
# FROM node:lts-alpine | ||
# FROM node:22.9.0-alpine3.20 AS base | ||
# FROM node:lts-alpine3.16 | ||
FROM node:22.9-slim | ||
# alpine | ||
# RUN apk add --no-cache bash nano | ||
# debian | ||
RUN apt-get update && apt-get install -y nano git curl && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir /app | ||
WORKDIR /app | ||
COPY package*.json /app/ | ||
RUN npm install | ||
COPY package.json /app/ | ||
# https://github.com/nodejs/docker-node/issues/1946#issuecomment-2459881919 | ||
# ENV NPM_VERSION=10.3.0 | ||
# RUN npm install -g npm@"${NPM_VERSION}" --omit=dev --production --no-audit --verbose --force | ||
|
||
RUN npm install --omit=dev --production --no-audit --verbose --force | ||
COPY . /app/ | ||
RUN gulp sass | ||
RUN npm run build | ||
COPY public /app/dist/public | ||
COPY public.template /app/dist/public.template | ||
|
||
RUN gulp | ||
RUN tsc --build OpenFlow/tsconfig.json | ||
WORKDIR /app/dist | ||
|
||
FROM node:lts-alpine | ||
ENV NODE_ENV=production | ||
RUN apk add --no-cache bash nano | ||
ENV HOME=. | ||
EXPOSE 3000 | ||
EXPOSE 5858 | ||
WORKDIR /data | ||
COPY --from=builder /app/package*.json . | ||
COPY --from=builder /app/dist/ . | ||
# RUN npm install --omit=dev | ||
# RUN npm install mongodb | ||
ENV HOME=. | ||
RUN npm install --omit=dev --production | ||
|
||
# ENTRYPOINT ["/usr/local/bin/node", "index.js"] | ||
ENTRYPOINT ["/usr/local/bin/node", "--inspect=0.0.0.0:5858", "index.js"] | ||
|
||
# docker buildx build --platform linux/amd64 -t openiap/openflow:edge . --push | ||
# docker buildx build --platform linux/amd64 -t openiap/openflow:dev . --push | ||
# docker buildx build --platform linux/amd64 -t openiap/openflow:dev . --push | ||
|
||
# docker run -it --rm openiap/openflow:edge /bin/bash |
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.