Skip to content

Commit c60572a

Browse files
authored
add dev container for k8s (#201)
1 parent 4f2482c commit c60572a

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/docker-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
image: lihebi/codepod-kernel-python
2323
- context: ./runtime
2424
image: lihebi/codepod-runtime
25+
- context: ./
26+
image: lihebi/codepod-dev
2527
steps:
2628
- name: Checkout
2729
uses: actions/checkout@v3

Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM node:18
2+
3+
WORKDIR /app
4+
COPY . .
5+
6+
WORKDIR /app/api
7+
RUN yarn install --frozen-lockfile
8+
WORKDIR /app/proxy
9+
RUN yarn install --frozen-lockfile
10+
WORKDIR /app/runtime
11+
RUN yarn install --frozen-lockfile
12+
WORKDIR /app/ui
13+
RUN yarn install --frozen-lockfile
14+
15+
WORKDIR /app/
16+
17+
CMD ["tail", "-f", "/dev/null"]

0 commit comments

Comments
 (0)