Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -17,7 +17,7 @@ spec: | ... | @@ -17,7 +17,7 @@ spec: |
17 | spec: | 17 | spec: |
18 | containers: | 18 | containers: |
19 | - name: frontend | 19 | - name: frontend |
20 | - image: khujay15/next-docker-test | 20 | + image: khujay15/next-docker-test:latest |
21 | ports: | 21 | ports: |
22 | - containerPort: 3000 | 22 | - containerPort: 3000 |
23 | name: frontend | 23 | name: frontend |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -11,7 +11,7 @@ ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}" | ... | @@ -11,7 +11,7 @@ ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}" |
11 | RUN apt-get install -y git | 11 | RUN apt-get install -y git |
12 | RUN npm install -g yarn | 12 | RUN npm install -g yarn |
13 | RUN mkdir /web | 13 | RUN mkdir /web |
14 | -RUN git clone --depth=1 http://khuhub.khu.ac.kr/2021-1-capstone-design2/2015104215/ /web | 14 | +RUN git clone -b kubeTest --single-branch --depth=1 http://khuhub.khu.ac.kr/2021-1-capstone-design2/2015104215/ /web |
15 | RUN cd /web/project;yarn install | 15 | RUN cd /web/project;yarn install |
16 | EXPOSE 3000 | 16 | EXPOSE 3000 |
17 | RUN cd /web/project;yarn build:web | 17 | RUN cd /web/project;yarn build:web | ... | ... |
-
Please register or login to post a comment