Merge branch 'master' of ssh://khuhub.khu.ac.kr:12959/2020-1-capstone-design1/Triz_Project1
Showing
6 changed files
with
6 additions
and
9 deletions
... | @@ -9,12 +9,12 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI | ... | @@ -9,12 +9,12 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI |
9 | && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ | 9 | && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ |
10 | && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz | 10 | && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz |
11 | 11 | ||
12 | -ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "60s" ] | 12 | +ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "300s" ] |
13 | 13 | ||
14 | -COPY package*.json ./ | 14 | +COPY package*.json ./ |
15 | COPY prisma ./prisma/ | 15 | COPY prisma ./prisma/ |
16 | 16 | ||
17 | RUN npm install && npx prisma generate | 17 | RUN npm install && npx prisma generate |
18 | CMD ["npm","start"] | 18 | CMD ["npm","start"] |
19 | 19 | ||
20 | -COPY . . | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
20 | +COPY . . | ... | ... |
... | @@ -9,8 +9,8 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI | ... | @@ -9,8 +9,8 @@ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSI |
9 | && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ | 9 | && tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ |
10 | && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz | 10 | && rm dockerize-alpine-linux-amd64-$DOCKERIZE_VERSION.tar.gz |
11 | 11 | ||
12 | -ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "60s" ] | 12 | +ENTRYPOINT [ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "300s" ] |
13 | 13 | ||
14 | COPY ./ ./prisma/ | 14 | COPY ./ ./prisma/ |
15 | 15 | ||
16 | -CMD ["prisma", "studio", "--experimental"] | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
16 | +CMD ["prisma", "studio", "--experimental"] | ... | ... |
No preview for this file type
-
Please register or login to post a comment