File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 77
77
- uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
78
78
with :
79
79
node-version : ' 20.17.0'
80
+ # setup required npm version
81
+ - run : |
82
+
80
83
# create directories need for build
81
84
- run : |
82
85
mkdir -p sshnp/web/admin
Original file line number Diff line number Diff line change @@ -6,11 +6,6 @@ FROM atsigncompany/buildimage:3.5.4@sha256:0d21c9f6dc856f1e3df933b99dd88a4833057
6
6
# See https://github.com/atsign-company/at_dockerfiles for source and automated builds
7
7
WORKDIR /noports
8
8
9
- # install node for later (keep at the top file to increase cache hits)
10
- # hadolint ignore=DL3008
11
- RUN apt-get update; \
12
- apt-get install -y --no-install-recommends npm
13
-
14
9
COPY . .
15
10
16
11
# Build packages/dart/sshnoports
@@ -35,17 +30,11 @@ RUN set -eux; \
35
30
cp LICENSE /sshnp/;
36
31
37
32
# Build apps/admin/admin_api - BETA
33
+ # Note: Only the API; webapp only included in the main platform builds
38
34
WORKDIR /noports/apps/admin/admin_api
39
35
RUN dart pub get --enforce-lockfile; \
40
36
dart compile exe bin/np_admin.dart -v -o /sshnp/np_admin
41
37
42
- # Build apps/admin/webapp
43
- WORKDIR /noports/apps/admin/webapp
44
- RUN npm ci; \
45
- npm run build; \
46
- mkdir -p /sshnp/web/admin; \
47
- cp -r ./dist/* /sshnp/web/admin/
48
-
49
38
RUN set -eux; \
50
39
case "$(dpkg --print-architecture)" in \
51
40
amd64) ARCH="x64";; \
You can’t perform that action at this time.
0 commit comments