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-04-17 13:03:21 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
766dfd7ed483b7dd5bcd0aa048134810e115623b
766dfd7e
1 parent
fea377b8
add Dockerfile in back folder
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
back/Dockerfile
back/Dockerfile
0 → 100644
View file @
766dfd7
1
+
FROM
node:12.16.2
2
+
RUN
npm i -g @prisma/cli
3
+
4
+
RUN
mkdir /app
5
+
WORKDIR
/app
6
+
7
+
COPY package*.json ./
8
+
COPY prisma ./prisma/
9
+
10
+
RUN
npm install
&&
npx prisma generate
11
+
12
+
CMD
["npm","run","dev"]
Please
register
or
login
to post a comment