pwi-plata-type 0.4.180 → 0.4.181
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/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
FROM node:lts-alpine AS
|
|
1
|
+
FROM node:lts-alpine AS build
|
|
2
2
|
|
|
3
3
|
WORKDIR /usr/src/app
|
|
4
4
|
|
|
@@ -9,17 +9,15 @@ ENV BUILD_ENV=${BUILD_ENV:-docker}
|
|
|
9
9
|
|
|
10
10
|
RUN npm i
|
|
11
11
|
RUN npm run build
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
WORKDIR /usr/src/app/__RELEASE__
|
|
14
14
|
|
|
15
15
|
RUN npm i
|
|
16
16
|
|
|
17
|
-
FROM node:lts-alpine AS
|
|
17
|
+
FROM node:lts-alpine AS runtime
|
|
18
18
|
|
|
19
19
|
WORKDIR /usr/src/app
|
|
20
20
|
|
|
21
|
-
COPY --from=
|
|
22
|
-
|
|
23
|
-
EXPOSE 3050
|
|
21
|
+
COPY --from=build /usr/src/app/__RELEASE__ /usr/src/app/
|
|
24
22
|
|
|
25
|
-
CMD [ "
|
|
23
|
+
CMD [ "/usr/src/app/node_modules/.bin/plata-runtime", "--skip-recompile", "+", "plata-api" ]
|