Skip to content

Commit

Permalink
docker buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
SrIzan10 committed Apr 23, 2024
1 parent d208f6b commit 214c35a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Sr Izan's container registry
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
Expand Down
Binary file modified .yarn/install-state.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ WORKDIR /app
RUN apk add --no-cache --virtual .gyp python3 make g++

COPY package.json yarn.lock ./
RUN npm install -g typescript
RUN yarn set version 4.1.1
RUN yarn install --immutable
RUN yarn
RUN npm install -g typescript

COPY . .
RUN yarn build
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
},
"devDependencies": {
"@types/express": "^4.17.14",
"@types/node": "^20.12.7",
"ts-node": "10.9.1",
"tsc-watch": "^5.0.3",
"typescript": "^5.4.5"
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1679,7 +1679,7 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*":
"@types/node@npm:*, @types/node@npm:^20.12.7":
version: 20.12.7
resolution: "@types/node@npm:20.12.7"
dependencies:
Expand Down Expand Up @@ -4841,6 +4841,7 @@ __metadata:
"@napi-rs/canvas": "npm:^0.1.52"
"@sern/handler": "npm:^3.3.4"
"@types/express": "npm:^4.17.14"
"@types/node": "npm:^20.12.7"
axios: "npm:^1.6.8"
dayjs: "npm:^1.11.6"
discord-tictactoe: "npm:^4.0.0"
Expand Down

0 comments on commit 214c35a

Please sign in to comment.