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,6 +1,6 @@
1
1
  {
2
2
  "name": "pwi-plata-type",
3
- "version": "0.4.180",
3
+ "version": "0.4.181",
4
4
  "main": "__BUILD__/index",
5
5
  "types": "src/@types/exported.d.ts",
6
6
  "bin": {
@@ -1,4 +1,4 @@
1
- FROM node:lts-alpine AS BUILD
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
- RUN cp package-lock.json /usr/src/app/__RELEASE__
12
+
13
13
  WORKDIR /usr/src/app/__RELEASE__
14
14
 
15
15
  RUN npm i
16
16
 
17
- FROM node:lts-alpine AS RUNTIME
17
+ FROM node:lts-alpine AS runtime
18
18
 
19
19
  WORKDIR /usr/src/app
20
20
 
21
- COPY --from=BUILD /usr/src/app/__RELEASE__ /usr/src/app/
22
-
23
- EXPOSE 3050
21
+ COPY --from=build /usr/src/app/__RELEASE__ /usr/src/app/
24
22
 
25
- CMD [ "npm", "start" ]
23
+ CMD [ "/usr/src/app/node_modules/.bin/plata-runtime", "--skip-recompile", "+", "plata-api" ]