Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Portfolio CUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ariele Luciano Sgheiza
Portfolio CUI
Commits
bbb55ef1
Commit
bbb55ef1
authored
4 years ago
by
Ariele Luciano Sgheiza
Browse files
Options
Downloads
Patches
Plain Diff
docker-test
parent
814adc3b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#20691
failed
4 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+5
-0
5 additions, 0 deletions
Dockerfile
index.html
+2
-2
2 additions, 2 deletions
index.html
index.js
+3
-5
3 additions, 5 deletions
index.js
with
10 additions
and
7 deletions
Dockerfile
0 → 100644
+
5
−
0
View file @
bbb55ef1
FROM
node:12-alpine
WORKDIR
/test
COPY
["package-lock.json", "package.json", "./"]
RUN
npm
install
CMD
["node", "index.js"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
index.html
+
2
−
2
View file @
bbb55ef1
...
...
@@ -3,12 +3,12 @@
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
index.css"
"
>
<link
rel=
"stylesheet"
href=
"
index.css"
>
<script
src=
"index.js"
></script>
<title>
Document
</title>
</head>
<body>
<p>
CIAO A TUTTI :)
</p>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
index.js
+
3
−
5
View file @
bbb55ef1
var
http
=
require
(
'
http
'
);
http
.
createServer
(
function
(
req
,
res
)
{
res
.
writeHead
(
200
,
{
'
Content-Type
'
:
'
text/html
'
});
res
.
end
(
'
Hello World!
'
);
}).
listen
(
3000
)
const
express
=
require
(
'
express
'
)
const
app
=
express
()
app
.
get
(
'
/
'
,
function
(
req
,
res
)
{
res
.
send
(
'
Hello World!
'
)})
app
.
get
(
'
/
'
,
function
(
req
,
res
)
{
res
.
send
(
'
Hello World!
'
)
})
app
.
listen
(
3000
,
function
()
{
res
.
send
(
'
Hello World!
'
)
console
.
log
(
'
Example app listening on port 3000!
'
)
})
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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