Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
daa-custom-stack
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Felipe Vieira de Moraes Tavares
daa-custom-stack
Commits
fd583144
Commit
fd583144
authored
Feb 09, 2017
by
Felipe Vieira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dockerizado
parents
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
0 deletions
+25
-0
Dockerfile
Dockerfile
+17
-0
build
build
+2
-0
run
run
+3
-0
rundev
rundev
+3
-0
No files found.
Dockerfile
0 → 100644
View file @
fd583144
# Dockerfile creado por Fvieira sacado de la guia de nodejs
FROM
node:boron
# Create app directory
RUN
mkdir
-p
/usr/src/app
WORKDIR
/usr/src/app
# Install app dependencies
COPY
package.json /usr/src/app/
RUN
npm
install
# Bundle app source
COPY
. /usr/src/app
EXPOSE
8080
CMD
[ "npm", "start" ]
build
0 → 100644
View file @
fd583144
#!/bin/bash
sudo
docker build
.
-t
nodedaa
run
0 → 100644
View file @
fd583144
#!/bin/bash
echo
'http://127.0.0.1:8000'
sudo
docker run
-it
-p
8000:80 nodedaa
rundev
0 → 100644
View file @
fd583144
#!/bin/bash
echo
'http://127.0.0.1:8000'
sudo
docker run
-it
-p
8000:80
-v
$(
pwd
)
/app:/usr/share/nginx/html nodedaa
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment