Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X-Road-catalogue
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
X-tee
X-Road-catalogue
Commits
914fb645
Commit
914fb645
authored
Mar 22, 2019
by
Karl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hello Docker
parent
78d31ca6
Pipeline
#16
failed with stages
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 deletions
+31
-0
.dockerignore
.dockerignore
+2
-0
Dockerfile
Dockerfile
+19
-0
docker-compose.yml
docker-compose.yml
+10
-0
No files found.
.dockerignore
0 → 100644
View file @
914fb645
node_modules
npm-debug.log
\ No newline at end of file
Dockerfile
0 → 100644
View file @
914fb645
FROM
node:10
RUN
npm i
-g
@angular/cli
RUN
useradd
--user-group
--create-home
--shell
/bin/false xtee
ENV
HOME=/home/xtee
COPY
. $HOME/xtss-catalogue/
RUN
chown
-R
xtee:xtee
$HOME
/
*
USER
xtee
WORKDIR
$HOME/xtss-catalogue
RUN
npm ic
CMD
["ng","serve","--host", "0.0.0.0"]
\ No newline at end of file
docker-compose.yml
0 → 100644
View file @
914fb645
version
:
'
3'
services
:
catalogue
:
build
:
.
ports
:
-
"
4200:4200"
volumes
:
-
.:/home/app/xtss-catalogue
-
/home/app/xtss-catalogue/node_modules
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