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