Skip to content

Commit a57c2e3

Browse files
committed
Update Packages
1 parent dbcde51 commit a57c2e3

File tree

6 files changed

+9058
-692
lines changed

6 files changed

+9058
-692
lines changed

.github/workflows/docker.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM node:12-alpine
1+
FROM node:14-alpine
22

33
RUN apk --no-cache add wireguard-tools iptables ip6tables inotify-tools tini
44
RUN deluser --remove-home node
55

66
WORKDIR /usr/src/app
77

88
COPY package*.json ./
9-
RUN npm install
9+
RUN npm ci
1010
COPY . .
1111
RUN chmod 755 ./server.sh
1212

0 commit comments

Comments
 (0)