Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이준성
/
khuwitch
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
Jinsu Park
2020-12-08 21:49:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0d5582a6b61bf4be2cead32e9f6f7a150308c668
0d5582a6
1 parent
5cd3143d
Add: dockerize, docker-compose
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
docker-compose.yml
frontend/Dockerfile
server/Dockerfile
docker-compose.yml
0 → 100644
View file @
0d5582a
1
+
version
:
"
3.8"
2
+
services
:
3
+
react
:
4
+
image
:
umi0410/khuwitch-react
5
+
ports
:
6
+
-
"
8000:8000"
7
+
express
:
8
+
image
:
umi0410/khuwitch-express
9
+
ports
:
10
+
-
"
3303:3303"
11
+
...
\ No newline at end of file
...
\ No newline at end of file
frontend/Dockerfile
0 → 100644
View file @
0d5582a
1
+
# docker build . -t umi0410/khuwitch-react
2
+
# docker push umi0410/khuwitch-react
3
+
FROM
node:13
4
+
COPY . .
5
+
RUN
npm i
6
+
ENV
PORT 8000
7
+
ENTRYPOINT
["npm"]
8
+
CMD
["start"]
...
\ No newline at end of file
...
\ No newline at end of file
server/Dockerfile
0 → 100644
View file @
0d5582a
1
+
# docker build . -t umi0410/khuwitch-express
2
+
# docker push umi0410/khuwitch-express
3
+
FROM
node:13
4
+
COPY . .
5
+
RUN
npm i
6
+
ENV
PORT 3303
7
+
ENTRYPOINT
["npm"]
8
+
CMD
["start"]
...
\ No newline at end of file
...
\ No newline at end of file
Please
register
or
login
to post a comment