adding build contet
Some checks failed
Build & Deploy Nuxt (Docker) / deploy (push) Failing after 5s
Some checks failed
Build & Deploy Nuxt (Docker) / deploy (push) Failing after 5s
This commit is contained in:
@@ -20,13 +20,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "IMAGE=local/nautilusdesk:${{ gitea.sha }}" >> $GITEA_ENV
|
echo "IMAGE=local/nautilusdesk:${{ gitea.sha }}" >> $GITEA_ENV
|
||||||
|
|
||||||
- name: ls
|
|
||||||
run: |
|
|
||||||
cd NautilusDesk
|
|
||||||
ls
|
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker build -t "$IMAGE" .
|
docker build -t "$IMAGE" ./nautilusdesk
|
||||||
|
|
||||||
- name: Deploy via compose
|
- name: Deploy via compose
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ WORKDIR /NautilusDesk
|
|||||||
# Needed for node-gyp / native deps on Alpine
|
# Needed for node-gyp / native deps on Alpine
|
||||||
RUN apk add --no-cache python3 make g++ git
|
RUN apk add --no-cache python3 make g++ git
|
||||||
|
|
||||||
RUN ls -a
|
|
||||||
|
|
||||||
# Install deps
|
# Install deps
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|||||||
Reference in New Issue
Block a user