arui-scripts 13.3.0-feat-fast-docker-build.1 → 13.3.0-feat-fast-docker-build.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [13.3.0-feat-fast-docker-build.2](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v13.3.0-feat-fast-docker-build.1...v13.3.0-feat-fast-docker-build.2) (2022-12-06)
2
+
3
+
4
+ ### Features
5
+
6
+ * **docker-fast:** don't build anything inside of container ([8f255bd](https://git.moscow.alfaintra.net/ef/arui-scripts/commit/8f255bd8fb9818a8498bddee71ef83ce4a7ba11b))
7
+
1
8
  # [13.3.0-feat-fast-docker-build.1](https://git.moscow.alfaintra.net/ef/arui-scripts/compare/v13.2.1...v13.3.0-feat-fast-docker-build.1) (2022-12-05)
2
9
 
3
10
 
@@ -10,24 +10,22 @@ FROM ${app_configs_1.default.baseDockerImage}
10
10
  ARG START_SH_LOCATION
11
11
  ARG NGINX_CONF_LOCATION
12
12
 
13
+ USER nginx
13
14
  WORKDIR /src
14
- ADD $START_SH_LOCATION /src/start.sh
15
- ADD $NGINX_CONF_LOCATION /src/nginx.conf
16
- ADD . /src
17
- RUN yarn install --no-progress --ignore-optional --frozen-lockfile --unsafe-perm && \\
18
- yarn build && \\
19
- yarn install --production --ignore-optional --frozen-lockfile --ignore-scripts --prefer-offline && \\
20
- yarn cache clean
21
-
22
- RUN chown -R nginx:nginx /src && chmod -R 755 /src && \
23
- mkdir -p /var/lib/nginx && \
24
- chown -R nginx:nginx /var/lib/nginx && \
25
- chown -R nginx:nginx /var/log/nginx && \
26
- chown -R nginx:nginx /etc/nginx/conf.d
15
+ RUN mkdir -p /var/lib/nginx && \
16
+ chown -R nginx:nginx /var/lib/nginx && \
17
+ chown -R nginx:nginx /var/log/nginx && \
18
+ chown -R nginx:nginx /etc/nginx/conf.d
27
19
 
28
20
  RUN touch /var/run/nginx.pid && \
29
21
  chown -R nginx:nginx /var/run/nginx.pid
30
22
 
31
- USER nginx
23
+ ADD $START_SH_LOCATION /src/start.sh
24
+ ADD $NGINX_CONF_LOCATION /src/nginx.conf
25
+ ADD --chown=nginx:nginx yarn.lock /src/yarn.lock
26
+ ADD --chown=nginx:nginx package.json /src/package.json
27
+ RUN yarn install --production --ignore-optional --frozen-lockfile --ignore-scripts --prefer-offline && \\
28
+ yarn cache clean
29
+ ADD --chown=nginx:nginx . /src
32
30
  `;
33
31
  exports.default = apply_overrides_1.default('Dockerfile-fast', dockerfileTemplate);
@@ -1332,7 +1332,7 @@
1332
1332
  "affectsGlobalScope": false
1333
1333
  },
1334
1334
  "../src/templates/dockerfile-fast.template.ts": {
1335
- "version": "b1d7be2c0c46a78c1d275908f7900d1dcdd1d796fef11ff0cf208a7bb285372c",
1335
+ "version": "78b3651d2f51bcd4c24ccf00def5a2cf377cecc7044d529582b1319390d0fd3b",
1336
1336
  "signature": "0fffbf1a5f54522ff7b89592bab1cf72966d7bdc613d52b0087717fcfec14b29",
1337
1337
  "affectsGlobalScope": false
1338
1338
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arui-scripts",
3
- "version": "13.3.0-feat-fast-docker-build.1",
3
+ "version": "13.3.0-feat-fast-docker-build.2",
4
4
  "main": "./build/index.js",
5
5
  "typings": "./build/index.d.ts",
6
6
  "license": "MPL-2.0",