Skip to content

Commit 162ae7c

Browse files
committed
feat: POC of Clean Architecture
1 parent 58b7520 commit 162ae7c

File tree

17 files changed

+987
-667
lines changed

17 files changed

+987
-667
lines changed

.devcontainer/Dockerfile

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
FROM node:20.16.0-alpine
2+
3+
# Install git, Python, build tools and other dependencies needed for native modules
4+
RUN apk add --no-cache \
5+
git \
6+
python3 \
7+
py3-pip \
8+
make \
9+
g++ \
10+
libc6-compat \
11+
openssl-dev
12+
13+
# Create symlink for python (some tools expect 'python' command)
14+
RUN ln -sf python3 /usr/bin/python
15+
16+
# Install pnpm
17+
RUN npm install -g [email protected]
18+
19+
# Install Biome
20+
RUN npm install -g @biomejs/[email protected]
21+
22+
# Set working directory
23+
WORKDIR /workspace
24+
25+
COPY . .
26+
27+
RUN pnpm install
28+
29+
CMD ["tail", "-f", "/dev/null"]

.devcontainer/devcontainer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "Dokploy Development container",
3+
"build": {
4+
"context": "..",
5+
"dockerfile": "Dockerfile"
6+
},
7+
"customizations": {
8+
"vscode": {
9+
"extensions": [
10+
"biomejs.biome",
11+
"sleistner.vscode-fileutils",
12+
"GitHub.copilot",
13+
"GitHub.copilot-chat",
14+
"eamodio.gitlens",
15+
"shd101wyy.markdown-preview-enhanced",
16+
"GitHub.vscode-github-actions",
17+
"redhat.vscode-yaml",
18+
"bradlc.vscode-tailwindcss"
19+
]
20+
}
21+
},
22+
"remoteEnv": {
23+
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
24+
},
25+
"runArgs": [
26+
"--name", "dokploy-devcontainer",
27+
"--network", "host"
28+
]
29+
}

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"editor.codeActionsOnSave": {
55
"source.fixAll.biome": "explicit",
66
"source.organizeImports.biome": "explicit"
7+
},
8+
"[typescript]": {
9+
"editor.defaultFormatter": "biomejs.biome"
710
}
811
}

0 commit comments

Comments
 (0)