This commit is contained in:
@@ -7,6 +7,6 @@ RUN npm run build
|
|||||||
FROM nginx:alpine-slim
|
FROM nginx:alpine-slim
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=build /app/dist/website/browser /usr/share/nginx/html/web
|
COPY --from=build /app/dist/website/browser /usr/share/nginx/html
|
||||||
|
|
||||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"builder": "@angular/build:application",
|
"builder": "@angular/build:application",
|
||||||
"options": {
|
"options": {
|
||||||
"baseHref": "/web/",
|
"baseHref": "",
|
||||||
"browser": "src/main.ts",
|
"browser": "src/main.ts",
|
||||||
"tsConfig": "tsconfig.app.json",
|
"tsConfig": "tsconfig.app.json",
|
||||||
"assets": [
|
"assets": [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ server {
|
|||||||
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
|
||||||
location /web/ {
|
location / {
|
||||||
try_files $uri $uri/ /web/index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ a {
|
|||||||
[role='button'],
|
[role='button'],
|
||||||
input[type='submit'],
|
input[type='submit'],
|
||||||
input[type='button'] {
|
input[type='button'] {
|
||||||
cursor: url('/web/cursor.svg') 0 0, auto;
|
cursor: url('/cursor.svg') 0 0, auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
a,
|
||||||
@@ -40,7 +40,7 @@ a {
|
|||||||
input[type='radio'],
|
input[type='radio'],
|
||||||
input[type='submit'],
|
input[type='submit'],
|
||||||
input[type='button'] {
|
input[type='button'] {
|
||||||
cursor: url('/web/cursor.svg') 0 0, pointer;
|
cursor: url('/cursor.svg') 0 0, pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
|
|||||||
Reference in New Issue
Block a user