-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 16.16.0 | ||
node-version: 16.20.2 | ||
- name: Install yarn | ||
run: npm install --global [email protected] | ||
- name: Install dependencies | ||
|
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,18 +1,18 @@ | ||
FROM node:16.16.0-alpine AS be | ||
FROM node:16.20.2-alpine AS be | ||
ADD ./ /var/www/raiapi/ | ||
WORKDIR /var/www/raiapi | ||
RUN rm -rf src | ||
ENV NODE_ENV=production | ||
RUN yarn | ||
|
||
FROM node:16.16.0-alpine AS fe | ||
FROM node:16.20.2-alpine AS fe | ||
ADD ./ /var/www/raiapi/ | ||
WORKDIR /var/www/raiapi | ||
RUN yarn | ||
ENV NODE_ENV=production | ||
RUN yarn build | ||
|
||
FROM node:16.16.0-alpine | ||
FROM node:16.20.2-alpine | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
WORKDIR /var/www/raiapi | ||
COPY --from=be /var/www/raiapi . | ||
|
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,6 +1,6 @@ | ||
{ | ||
"engines": { | ||
"node": "^16.16.0", | ||
"node": "^16.20.2", | ||
"yarn": "^1.22.19" | ||
}, | ||
"name": "raiapi", | ||
|