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