Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0809627

Browse files
committed
Frontend Dockerfile
1 parent72034a0 commit0809627

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

‎maxkey-web-frontend/maxkey-web-app/Dockerfile‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#MaxKey Frontend Docker Build
22

3-
FROM node:16.14.2 as builder
3+
FROM node:16.14.2
4+
#FROM node:16.14.2 as builder
45

56
LABEL authors="MaxKey <support@maxsso.net>"
67

@@ -22,7 +23,8 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf
2223

2324
#RUN rm -rf /usr/share/nginx/html/*
2425

25-
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html/maxkey
26+
COPY dist /usr/share/nginx/html/maxkey
27+
#COPY --from=builder /usr/src/app/dist /usr/share/nginx/html/maxkey
2628

2729
#CMD ["nginx", "-g", "daemon off;"]
2830

‎maxkey-web-frontend/maxkey-web-mgt-app/Dockerfile‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#MaxKey Mgt Frontend Docker Build
22

3-
FROM node:16.14.2 as builder
3+
FROM node:16.14.2
4+
#FROM node:16.14.2 as builder
45

56
LABEL authors="MaxKey <support@maxsso.net>"
67

@@ -22,7 +23,8 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf
2223

2324
#RUN rm -rf /usr/share/nginx/html/*
2425

25-
COPY --from=builder /usr/src/app/dist /usr/share/nginx/html/maxkey-mgt
26+
COPY dist /usr/share/nginx/html/maxkey-mgt
27+
#COPY --from=builder /usr/src/app/dist /usr/share/nginx/html/maxkey-mgt
2628

2729
#CMD ["nginx", "-g", "daemon off;"]
2830

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp