testeranto 0.79.62 → 0.79.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Report.Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
1
  FROM node:18.18.0
2
-
2
+ ENV HOST 0.0.0.0
3
3
  RUN apt-get update && \
4
4
  apt-get install -y --no-install-recommends \
5
5
  python3 \
@@ -36,8 +36,9 @@ RUN yarn run init
36
36
 
37
37
  # # RUN ts-node-esm ./node_modules/testeranto/dist/prebuild/TaskManBackEnd.mjs
38
38
 
39
- EXPOSE 3000
39
+ EXPOSE 8080
40
40
  EXPOSE 27017
41
41
  ENV MONGO_HOST=host.docker.internal
42
+ ENV HTTPS_PORT=8080
42
43
  # # CMD ['yarn', 'testeranto-testrun', '&', 'yarn', 'testeranto-taskman']
43
44
  CMD ["yarn", "report"]
@@ -10,7 +10,7 @@ const path_1 = __importDefault(require("path"));
10
10
  const fs_1 = __importDefault(require("fs"));
11
11
  const mongooseSchemas_1 = require("./mongooseSchemas");
12
12
  console.log("hello TaskMan Backend", process.env);
13
- const port = 3000;
13
+ const port = process.env.HTTPS_PORT || "3000";
14
14
  function findTextFiles(dir, fileList = []) {
15
15
  const files = fs_1.default.readdirSync(dir);
16
16
  for (const file of files) {