Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Marcelo Alexis Barrientos Lazo
tsc-tarea2
Commits
9b1ca3a7
Commit
9b1ca3a7
authored
7 years ago
by
Marcelo Barrientos
Browse files
Options
Download
Patches
Plain Diff
Makefile mejorado
parent
70d75216
master
v0.2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+3
-2
Makefile
with
3 additions
and
2 deletions
+3
-2
Makefile
+
3
−
2
View file @
9b1ca3a7
...
...
@@ -3,12 +3,13 @@ all: install
install
:
docker build
-f
Dockerfile
-t
tsc-tarea2 ../tsc-tarea2
run
:
docker run
-l
tsc-tarea2
-it
-p8000
:8000 tsc-tarea2
docker run
--name
tsc-tarea2
-it
-p8000
:8000
--link
tsc-mysql:mysql tsc-tarea2
docker
rm
-f
tsc-tarea2
run_detach
:
docker run
-d
-p8000
:8000 tsc-tarea2
run_mysql
:
docker run
-p3306
:3306
--name
tsc-mysql
-e
MYSQL_ROOT_PASSWORD
=
tarea2
-e
MYSQL_DATABASE
=
tarea2
-e
MYSQL_USER
=
tarea2
-e
MYSQL_PASSWORD
=
tarea2
-d
mysql:8.0
docker run
--name
tsc-mysql
-e
MYSQL_ROOT_PASSWORD
=
root
-e
MYSQL_DATABASE
=
db_grupo7
-e
MYSQL_USER
=
grupo7
-e
MYSQL_PASSWORD
=
iCKUsJP1cLQx
-d
mysql:8.0
--character-set-server
=
utf8mb4
--collation-server
=
utf8mb4_unicode_ci
clean
:
docker image
rm
-f
tsc-tarea2
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets