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 22:33:33 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f1156edc9043a8eadde5881f4d7446715951bcf9
f1156edc
1 parent
388f5914
Update: dockerfile optimization
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
frontend/Dockerfile
frontend/src/tts.js
server/Dockerfile
frontend/Dockerfile
View file @
f1156ed
# docker build . -t umi0410/khuwitch-react
# docker push umi0410/khuwitch-react
FROM
node:13
COPY . .
COPY node_modules node_modules
COPY package.json package.json
RUN
npm i
COPY . .
ENV
PORT 8000
ENTRYPOINT
["npm"]
CMD
["start"]
\ No newline at end of file
...
...
frontend/src/tts.js
View file @
f1156ed
...
...
@@ -47,6 +47,11 @@ function enqueueTTS(text){
}
console
.
log
(
"테스트용 TTS 데이터를 주입합니다."
)
enqueueTTS
(
`전에 data hazards에서 3가지 data-dependence를 배웠다. mips인 경우에는 in-order이라 True data dependency 문제밖에 안생겼었다
근데 out-of-order 관점에서는 3개의 명령어가 동시에 fetch되는 경우를 생각해보자.
만약 1, 3 line 순서 바뀌면 당연히 결과가 이상해진다. 전에 고려하지 못했던 output dependency 와 anti dependency 고려해줘야한다. `
)
enqueueTTS
(
"복잡한 브랜치"
)
enqueueTTS
(
"빵상 아주머니는 말씀하셨다."
)
enqueueTTS
(
"니가가라 하와이"
)
...
...
server/Dockerfile
View file @
f1156ed
# docker build . -t umi0410/khuwitch-express
# docker push umi0410/khuwitch-express
FROM
node:13
COPY . .
COPY node_modules node_modules
COPY package.json package.json
RUN
npm i
COPY . .
ENV
PORT 3303
ENTRYPOINT
["npm"]
CMD
["start"]
\ No newline at end of file
...
...
Please
register
or
login
to post a comment