Skip to content

docker-compose.yml #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 70 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
ae636b9
Merge pull request #1 from techulus/develop
arjunkomath Jan 26, 2024
6e2ef6c
Merge pull request #2 from techulus/develop
arjunkomath Jan 26, 2024
7a8ed03
Merge pull request #3 from techulus/develop
arjunkomath Jan 26, 2024
ee5d257
Merge pull request #4 from techulus/develop
arjunkomath Jan 27, 2024
51b893b
Merge pull request #5 from techulus/develop
arjunkomath Jan 27, 2024
cb80164
Merge pull request #6 from techulus/develop
arjunkomath Jan 27, 2024
071f237
Merge pull request #7 from techulus/develop
arjunkomath Jan 27, 2024
421a0fb
Merge pull request #8 from techulus/develop
arjunkomath Jan 31, 2024
5e01d1d
Merge pull request #9 from techulus/develop
arjunkomath Jan 31, 2024
46d1df0
Merge pull request #10 from techulus/develop
arjunkomath Jan 31, 2024
b4a9841
Merge pull request #11 from techulus/develop
arjunkomath Feb 1, 2024
c3de147
Merge pull request #12 from techulus/develop
arjunkomath Feb 9, 2024
b0ec3df
Merge pull request #13 from techulus/develop
arjunkomath Feb 12, 2024
ddad252
Merge pull request #14 from techulus/develop
arjunkomath Feb 17, 2024
33be647
Merge pull request #15 from techulus/develop
arjunkomath Feb 19, 2024
242fbb5
Merge pull request #16 from techulus/develop
arjunkomath Feb 19, 2024
539168c
Merge pull request #17 from techulus/develop
arjunkomath Feb 19, 2024
c13c60b
Merge pull request #18 from techulus/develop
arjunkomath Feb 20, 2024
33cc42f
Merge pull request #19 from techulus/develop
arjunkomath Feb 24, 2024
d0ecc8f
Merge pull request #20 from techulus/develop
arjunkomath Mar 4, 2024
3129947
Merge pull request #21 from techulus/develop
arjunkomath Apr 21, 2024
069ea00
Merge pull request #22 from techulus/develop
arjunkomath Jun 13, 2024
1b3b483
Merge pull request #23 from techulus/develop
arjunkomath Jun 16, 2024
b958149
Merge pull request #24 from techulus/develop
arjunkomath Jun 23, 2024
79d4fcc
Merge pull request #25 from techulus/develop
arjunkomath Jun 23, 2024
6fe3ea0
Merge pull request #26 from techulus/develop
arjunkomath Jun 23, 2024
edc17aa
Merge pull request #27 from techulus/develop
arjunkomath Jun 25, 2024
7db381a
Merge pull request #28 from techulus/develop
arjunkomath Jun 27, 2024
f854f2f
Merge pull request #29 from techulus/develop
arjunkomath Jul 5, 2024
3e3bd18
Merge pull request #30 from techulus/develop
arjunkomath Jul 21, 2024
45f53de
Merge pull request #31 from techulus/develop
arjunkomath Jul 31, 2024
d55789f
Merge pull request #32 from techulus/develop
arjunkomath Aug 3, 2024
1ad5b40
Merge pull request #37 from techulus/develop
arjunkomath Oct 3, 2024
88805d5
Merge pull request #38 from techulus/develop
arjunkomath Oct 5, 2024
3e8a272
Merge pull request #39 from techulus/develop
arjunkomath Oct 5, 2024
05349ef
Merge pull request #40 from techulus/develop
arjunkomath Oct 5, 2024
2400698
Merge pull request #42 from techulus/develop
arjunkomath Dec 22, 2024
337382f
Merge pull request #43 from techulus/develop
arjunkomath Dec 28, 2024
944ef04
Merge pull request #44 from techulus/develop
arjunkomath Dec 30, 2024
cf8d4e7
Merge pull request #45 from techulus/develop
arjunkomath Dec 31, 2024
68252be
Merge pull request #46 from techulus/develop
arjunkomath Dec 31, 2024
96d5c00
Merge pull request #47 from techulus/develop
arjunkomath Dec 31, 2024
3b1807b
Merge pull request #48 from techulus/develop
arjunkomath Dec 31, 2024
ac86299
Merge pull request #49 from techulus/develop
arjunkomath Dec 31, 2024
ff09683
Merge pull request #50 from techulus/develop
arjunkomath Jan 1, 2025
dbbbb2a
Merge pull request #51 from techulus/develop
arjunkomath Jan 2, 2025
eb77c16
Merge pull request #52 from techulus/develop
arjunkomath Jan 2, 2025
e3df938
Merge pull request #53 from techulus/develop
arjunkomath Jan 2, 2025
a38636b
Merge pull request #54 from techulus/develop
arjunkomath Jan 3, 2025
e09e85a
Merge pull request #55 from techulus/develop
arjunkomath Jan 5, 2025
7b6b941
Merge pull request #56 from techulus/develop
arjunkomath Jan 18, 2025
6e0f2dc
Merge pull request #57 from techulus/develop
arjunkomath Feb 7, 2025
c5a2c1e
Merge pull request #58 from techulus/develop
arjunkomath Feb 7, 2025
15acd1b
Merge pull request #60 from techulus/develop
arjunkomath Feb 14, 2025
eadef6b
Merge pull request #61 from techulus/develop
arjunkomath Feb 14, 2025
25c0260
Merge pull request #62 from techulus/develop
arjunkomath Feb 19, 2025
947cd2f
Merge pull request #63 from techulus/develop
arjunkomath Mar 23, 2025
a7e5395
Merge pull request #64 from techulus/develop
arjunkomath Apr 1, 2025
16b40c9
Merge pull request #65 from techulus/develop
arjunkomath May 13, 2025
57ca6c1
Merge pull request #66 from techulus/develop
arjunkomath May 14, 2025
102371b
Merge pull request #67 from techulus/develop
arjunkomath May 15, 2025
841aaa6
Merge pull request #68 from techulus/develop
arjunkomath May 16, 2025
2b63829
Merge pull request #69 from techulus/develop
arjunkomath May 16, 2025
9c66f23
Merge pull request #70 from techulus/develop
arjunkomath May 19, 2025
3255e5c
Merge pull request #71 from techulus/develop
arjunkomath Jun 7, 2025
68ee826
Merge pull request #73 from techulus/develop
arjunkomath Jul 1, 2025
521fd4a
Merge pull request #74 from techulus/develop
arjunkomath Jul 9, 2025
e82ea7f
Merge pull request #75 from techulus/develop
arjunkomath Jul 19, 2025
b7a83d6
Merge pull request #77 from techulus/develop
arjunkomath Jul 22, 2025
4a4ef4d
Create Dockerfile
Lajithaalagarbabu Jul 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions apps/page/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

FROM node:20-alpine

WORKDIR /app

COPY pnpm-lock.yaml ./
COPY package.json ./ # Copy root package.json if it contains workspace def

COPY pnpm-workspace.yaml ./

COPY apps/my-frontend/package.json ./apps/my-frontend/

RUN npm install -g pnpm

RUN pnpm install --frozen-lockfile

COPY . .

WORKDIR /app/apps/my-frontend
RUN pnpm run build # Or whatever your build command is

EXPOSE 3000

CMD ["pnpm", "start"] # Or "node dist/index.js", etc.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Inline comment after JSON array breaks the Dockerfile syntax

Docker does not allow trailing characters after the JSON‐array form of CMD.
This line will fail to build (hadolint DL1000 confirms).

-CMD ["pnpm", "start"] # Or "node dist/index.js", etc.
+# Optional: choose one of the two commands below
+# CMD ["node", "dist/index.js"]
+CMD ["pnpm", "start"]
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
CMD ["pnpm", "start"] # Or "node dist/index.js", etc.
# Optional: choose one of the two commands below
# CMD ["node", "dist/index.js"]
CMD ["pnpm", "start"]
🧰 Tools
🪛 Hadolint (2.12.0)

[error] 24-24: unexpected '#'
expecting '', a new line followed by the next instruction, or at least one space

(DL1000)

🤖 Prompt for AI Agents
In apps/page/Dockerfile at line 24, remove the inline comment after the JSON
array in the CMD instruction because Dockerfile syntax does not allow trailing
characters after the JSON array form. Place any comments on separate lines above
the CMD instruction to fix the build error.