-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(*): update application libraries
- Loading branch information
1 parent
21bea34
commit c03ffd0
Showing
10 changed files
with
67 additions
and
90 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nodejs 19.6.0 | ||
nodejs 20.11.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
FROM node:19.6.0 AS builder | ||
FROM node:20.11.0 AS builder | ||
|
||
WORKDIR /app | ||
|
||
COPY package*.json ./ | ||
COPY ./package*.json ./ | ||
|
||
RUN npm install | ||
RUN npm install && npm install gulp-cli@2.3.0 -g | ||
|
||
RUN npm install gulp-cli -g | ||
|
||
COPY . . | ||
COPY ./gulpfile.js ./gulpfile.js | ||
COPY ./src/assets ./src/assets | ||
COPY ./src/index.html ./src | ||
COPY ./webpack.config.js ./ | ||
|
||
RUN gulp build | ||
|
||
FROM nginx:stable-alpine | ||
FROM nginx:stable-alpine AS production | ||
|
||
WORKDIR /usr/share/nginx/html | ||
|
||
COPY --from=builder /app/dist /usr/share/nginx/html | ||
COPY --from=builder /app/dist ./ | ||
|
||
EXPOSE 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
install: | ||
npm install | ||
|
||
start: | ||
gulp watch | ||
|
||
build: | ||
gulp build | ||
|
||
preview: | ||
gulp previewDist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters