Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-04 19:57:37 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5029340d9b44adf23f7de5056aff6aeaa3d89655
5029340d
1 parent
23ee8b6a
add dockerize
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
back/prisma/Dockerfile
back/prisma/Dockerfile
View file @
5029340
...
...
@@ -4,6 +4,13 @@ RUN npm i -g @prisma/cli
RUN
mkdir /app
WORKDIR
/app
ENV
DOCKERIZE_VERSION v0.6.1
RUN
wget https://github.com/jwilder/dockerize/releases/download/
$DOCKERIZE_VERSION
/dockerize-alpine-linux-amd64-
$DOCKERIZE_VERSION
.tar.gz
\
&&
tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-
$DOCKERIZE_VERSION
.tar.gz
\
&&
rm dockerize-alpine-linux-amd64-
$DOCKERIZE_VERSION
.tar.gz
ENTRYPOINT
[ "dockerize", "-wait", "tcp://root:prisma@mysql:3306/prisma:3306", "-timeout", "25s" ]
COPY ./ ./prisma/
CMD
["prisma", "studio", "--experimental"]
\ No newline at end of file
...
...
Please
register
or
login
to post a comment