Skip to content

Commit

Permalink
esbuild peer deps error fixed, docker image issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
KMJ-007 committed Oct 31, 2023
1 parent fd1a7a5 commit bfe101c
Show file tree
Hide file tree
Showing 4 changed files with 773 additions and 654 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: ci

on:
# push:
# branches:
# - "main"
push:
branches:
- "main"

jobs:
build:
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
FROM node:18.2.0-alpine

# Copy package.json and tsconfig files
COPY package*.json tsconfig.json .
COPY yarn.lock package.json tsconfig.json ./

# Copy the source code
COPY src ./src

# Install dependencies using Yarn
RUN npm install
RUN apk add --no-cache git openssh
RUN yarn install

# Build the application
RUN npm run build
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"express-validator": "^7.0.1",
"pm2": "^5.3.0",
"qrcode": "^1.5.3",
"qrcode-terminal": "^0.12.0"
"qrcode-terminal": "^0.12.0",
"typescript": "^5.2.2"
},
"devDependencies": {
"@types/cors": "^2.8.13",
Expand Down
Loading

0 comments on commit bfe101c

Please sign in to comment.