Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6d2a5a5

Browse files
committedNov 30, 2024·
✏️ Trying to fix exec /usr/local/bin/docker-entrypoint.sh: exec format error
Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
1 parent 3997ed7 commit 6d2a5a5

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
 

‎.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
cache-from: type=gha
5151
cache-to: type=gha,mode=max
5252
context: .
53+
platform: linux/amd64
5354
labels: ${{ steps.meta.outputs.labels }}
5455
push: true
5556
tags: |

‎Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ EXPOSE 3000
4949
ENV PORT 3000
5050
ENV HOSTNAME "0.0.0.0"
5151

52-
CMD node server.js
52+
CMD ["node" "server.js"]

‎package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
"eslint": "^9.15.0",
2828
"eslint-config-next": "15.0.3",
2929
"typescript": "^5.7.2"
30-
}
30+
},
31+
"packageManager": "^pnpm@9.12.3"
3132
}

0 commit comments

Comments
 (0)
Please sign in to comment.