Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design2
/
2015104215
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jaehyuk-jang
2021-06-08 01:40:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3b4450a0a303bcb17c63b9e9ef901bdcd55a28a3
3b4450a0
1 parent
0ecfb763
Change setting
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
project/docker_image/frontend/deployment.yml
project/docker_image/frontend/dockerfile
project/docker_image/frontend/deployment.yml
View file @
3b4450a
...
...
@@ -17,7 +17,7 @@ spec:
spec
:
containers
:
-
name
:
frontend
image
:
khujay15/next-docker-test
image
:
khujay15/next-docker-test
:latest
ports
:
-
containerPort
:
3000
name
:
frontend
\ No newline at end of file
...
...
project/docker_image/frontend/dockerfile
View file @
3b4450a
...
...
@@ -11,7 +11,7 @@ ENV PATH="/root/.nvm/versions/node/v${NODE_VERSION}/bin/:${PATH}"
RUN
apt-get install -y git
RUN
npm install -g yarn
RUN
mkdir /web
RUN
git clone --depth
=
1 http://khuhub.khu.ac.kr/2021-1-capstone-design2/2015104215/ /web
RUN
git clone -
b kubeTest --single-branch -
-depth
=
1 http://khuhub.khu.ac.kr/2021-1-capstone-design2/2015104215/ /web
RUN
cd
/web/project;yarn install
EXPOSE
3000
RUN
cd
/web/project;yarn build:web
...
...
Please
register
or
login
to post a comment