Skip to content

Commit aa0e4f7

Browse files
committed
feat(runtime): upgrade app runtime for v1.0.alpha
Signed-off-by: maslow <[email protected]>
1 parent b547f34 commit aa0e4f7

File tree

8 files changed

+553
-7008
lines changed

8 files changed

+553
-7008
lines changed

deploy/scripts/init-laf/runtime.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ metadata:
77
spec:
88
type: node:laf
99
image:
10-
main: "docker.io/lafyun/app-service:0.8.11"
10+
main: "docker.io/lafyun/runtime-node:1.0-alpha.0"
1111
version:
12-
version: 0.8.11
12+
version: 1.0-alpha.0

runtimes/nodejs/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
FROM node:18-alpine
22
RUN apk add --no-cache openssl
33

4-
RUN npm install npm -g
4+
# RUN npm install npm -g
55

66
EXPOSE 8000
77
WORKDIR /app
88
ENV LOG_LEVEL=debug
99
COPY . /app
1010
# COPY --chown=node:node . /app
11-
# RUN mkdir /app/data || true
12-
# RUN chown node:node /app/data
11+
RUN mkdir /app/data || true
12+
RUN chown node:node /app/data
1313
# RUN npm install
1414
# RUN npm run build
1515
RUN chown -R node:node /app/node_modules

0 commit comments

Comments
 (0)