Skip to content

Commit 44ba380

Browse files
authored
Merge pull request #2 from undeadjess/testing
rewrite api, add frontend version browser
2 parents fdb2763 + f4d1f40 commit 44ba380

30 files changed

+2092
-1925
lines changed

.github/workflows/build-production.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ jobs:
2323
username: ${{ github.actor }}
2424
password: ${{ secrets.GITHUB_TOKEN }}
2525

26-
- name: Build and push fetcher image
27-
uses: docker/build-push-action@v5
28-
with:
29-
context: ./fetcher/
30-
file: ./fetcher/Dockerfile
31-
push: true
32-
tags: ghcr.io/undeadjess/serverjars-fetcher:production
33-
3426
- name: Build and push api image
3527
uses: docker/build-push-action@v5
3628
with:

.github/workflows/build-testing.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,6 @@ jobs:
2424
username: ${{ github.actor }}
2525
password: ${{ secrets.GITHUB_TOKEN }}
2626

27-
- name: Build and push fetcher image
28-
uses: docker/build-push-action@v5
29-
with:
30-
context: ./fetcher/
31-
file: ./fetcher/Dockerfile
32-
push: true
33-
tags: ghcr.io/undeadjess/serverjars-fetcher:testing
34-
3527
- name: Build and push api image
3628
uses: docker/build-push-action@v5
3729
with:

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"tabWidth": 4,
3+
"useTabs": false
4+
}

api/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ FROM node:18 as builder
44
WORKDIR /usr/src/app
55
COPY package*.json ./
66
RUN npm install --production
7-
COPY index.js .
7+
COPY index.js index.js
8+
COPY proxies/ proxies/
9+
COPY servers/ servers/
810

911
# final
1012
FROM node:18-slim

0 commit comments

Comments
 (0)