File tree Expand file tree Collapse file tree 6 files changed +9058
-692
lines changed Expand file tree Collapse file tree 6 files changed +9058
-692
lines changed Original file line number Diff line number Diff line change 1+ name : Docker Build
2+ on :
3+ push :
4+ branches :
5+ - ' main'
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout
11+ uses : actions/checkout@v2
12+ - name : Login to Docker Hub
13+ uses : docker/login-action@v1
14+ with :
15+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
16+ password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
17+ - name : Set up Docker Buildx
18+ uses : docker/setup-buildx-action@v1
19+ - name : Build and push
20+ uses : docker/build-push-action@v2
21+ with :
22+ context : .
23+ file : ./Dockerfile
24+ push : true
25+ tags : dashlabsai/wireguard-manager:latest
Original file line number Diff line number Diff line change 1- FROM node:12 -alpine
1+ FROM node:14 -alpine
22
33RUN apk --no-cache add wireguard-tools iptables ip6tables inotify-tools tini
44RUN deluser --remove-home node
55
66WORKDIR /usr/src/app
77
88COPY package*.json ./
9- RUN npm install
9+ RUN npm ci
1010COPY . .
1111RUN chmod 755 ./server.sh
1212
You can’t perform that action at this time.
0 commit comments