testeranto 0.79.44 → 0.79.45
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/Bundle.Dockerfile +44 -0
- package/Report.Dockerfile +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
FROM node:18.18.0
|
|
2
|
+
|
|
3
|
+
# Install build dependencies
|
|
4
|
+
RUN apt-get update && \
|
|
5
|
+
apt-get install -y --no-install-recommends \
|
|
6
|
+
python3 \
|
|
7
|
+
make \
|
|
8
|
+
g++ && \
|
|
9
|
+
rm -rf /var/lib/apt/lists/*
|
|
10
|
+
|
|
11
|
+
RUN yarn global add node-gyp
|
|
12
|
+
|
|
13
|
+
RUN mkdir -p /usr/src/app
|
|
14
|
+
RUN mkdir -p /usr/src/app/docs
|
|
15
|
+
WORKDIR /usr/src/app
|
|
16
|
+
COPY package.json /usr/src/app
|
|
17
|
+
RUN yarn install
|
|
18
|
+
COPY ./src/ /usr/src/app/src
|
|
19
|
+
COPY ./subPackages/ /usr/src/app/subPackages
|
|
20
|
+
COPY ./testeranto.mts /usr/src/app/testeranto.mts
|
|
21
|
+
# COPY ./features.test.mts /usr/src/app/features.test.mts
|
|
22
|
+
COPY ./tsconfig.json /usr/src/app/tsconfig.json
|
|
23
|
+
|
|
24
|
+
RUN yarn run init
|
|
25
|
+
RUN yarn bundle
|
|
26
|
+
# COPY ./docs/ /usr/src/app/docs
|
|
27
|
+
# # COPY ./testeranto.json /usr/src/app/testeranto.json
|
|
28
|
+
# # COPY prebuild.sh /usr/src/app
|
|
29
|
+
# # COPY postBuild.sh /usr/src/app
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
# # RUN yarn build
|
|
33
|
+
|
|
34
|
+
# RUN cp ./node_modules/testeranto/dist/prebuild/TaskManBackEnd.mjs /usr/src/app/TaskManBackEnd.mjs
|
|
35
|
+
# RUN cp ./node_modules/testeranto/dist/prebuild/TaskManFrontEnd.js /usr/src/app/TaskManFrontEnd.js
|
|
36
|
+
# RUN cp ./node_modules/testeranto/dist/prebuild/TaskManFrontEnd.css /usr/src/app/TaskManFrontEnd.css
|
|
37
|
+
|
|
38
|
+
# # RUN ts-node-esm ./node_modules/testeranto/dist/prebuild/TaskManBackEnd.mjs
|
|
39
|
+
|
|
40
|
+
# EXPOSE 3000
|
|
41
|
+
# EXPOSE 27017
|
|
42
|
+
# ENV MONGO_HOST=host.docker.internal
|
|
43
|
+
# # # CMD ['yarn', 'testeranto-testrun', '&', 'yarn', 'testeranto-taskman']
|
|
44
|
+
CMD ["node", "./Puppeteer.mjs"]
|
package/Report.Dockerfile
CHANGED
|
@@ -21,7 +21,7 @@ COPY ./testeranto.mts /usr/src/app/testeranto.mts
|
|
|
21
21
|
# COPY ./features.test.mts /usr/src/app/features.test.mts
|
|
22
22
|
COPY ./tsconfig.json /usr/src/app/tsconfig.json
|
|
23
23
|
|
|
24
|
-
RUN yarn init
|
|
24
|
+
RUN yarn run init
|
|
25
25
|
RUN yarn report
|
|
26
26
|
# COPY ./docs/ /usr/src/app/docs
|
|
27
27
|
# # COPY ./testeranto.json /usr/src/app/testeranto.json
|