This commit is contained in:
parent
fad71e9345
commit
562d432080
@ -14,6 +14,7 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: cd frontend
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
|
||||
@ -26,6 +27,8 @@ jobs:
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
|
||||
- run: cd ..
|
||||
|
||||
- run: docker buildx build -t gitea.xeovalyte.dev/xeovalyte/wrbapp:latest-arm --load --platform=linux/arm64 .
|
||||
- run: docker push gitea.xeovalyte.dev/xeovalyte/wrbapp:latest-arm
|
||||
|
||||
|
@ -2,10 +2,7 @@ FROM node:18
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY ./frontend .
|
||||
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
COPY ./frontend/output .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user