We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36f9de commit d86b080Copy full SHA for d86b080
Dockerfile
@@ -19,6 +19,7 @@ ENV NODE_OPTIONS=--max_old_space_size=2078
19
# Run App build within container context
20
RUN npx reactium install && npm run build
21
22
+# Remove Development Deps before next stage
23
RUN npm prune --production
24
25
# Deployable Stage
@@ -27,17 +28,19 @@ FROM node:lts-hydrogen
27
28
# Create app directory
29
WORKDIR /usr/src/app
30
-# Includes all build assets
31
-COPY --from=build /tmp/app/public ./public
32
-
33
# Dependencies of server
34
COPY --from=build /tmp/app/package.json ./package.json
35
COPY --from=build /tmp/app/node_modules ./node_modules
+COPY --from=build /tmp/app/reactium_modules ./reactium_modules
+
36
+# Includes all server src and built assets
37
+COPY --from=build /tmp/app/src ./src
38
+COPY --from=build /tmp/app/public ./public
39
40
RUN chown -R node ./
41
42
USER node
43
44
EXPOSE 3030
45
-CMD [ "node", "./build/.core/index.js" ]
46
+CMD [ "npm", "start" ]
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments