Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dad
FFDS-register-front
Commits
642bcd21
Commit
642bcd21
authored
Jul 06, 2020
by
cazenave
Browse files
add dockerfile
parent
699f4619
Changes
3
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
642bcd21
### STAGE 1: Build ###
FROM
node:12.7-alpine AS build
WORKDIR
/usr/src/app
COPY
package.json package-lock.json ./
RUN
npm
install
COPY
. .
RUN
npm run build
### STAGE 2: Run ###
FROM
nginx:1.17.1-alpine
COPY
nginx.conf /etc/nginx/nginx.conf
COPY
--from=build /usr/src/app/dist/register-front /usr/share/nginx/html
nginx.conf
0 → 100644
View file @
642bcd21
events
{}
http
{
include
/etc/nginx/mime.types
;
server
{
listen
80
;
server_name
localhost
;
root
/usr/share/nginx/html
;
index
index.html
;
location
/
{
try_files
$uri
$uri
/
/index.html
;
}
}
}
src/app/app.component.html
View file @
642bcd21
...
...
@@ -147,7 +147,6 @@
<button
mat-menu-item
[matMenuTriggerFor]=
"subMenuDataset"
>
Describe access to datasets
</button>
<mat-menu
#subMenuDataset
="
matMenu
"
>
<button
mat-menu-item
routerLink=
"/accessapi"
routerLinkActive=
"active"
>
Describe the access API
</button>
<button
mat-menu-item
routerLink=
"/swaggerapi"
routerLinkActive=
"active"
>
Swagger API editor
</button>
<button
mat-menu-item
routerLink=
"/datasets"
routerLinkActive=
"active"
>
Select your datasets to publish
</button>
</mat-menu>
...
...
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