diff --git a/Dockerfile b/Dockerfile index 565cbc1..2f8bada 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;"] diff --git a/angular.json b/angular.json index 3d2852b..b3d9364 100644 --- a/angular.json +++ b/angular.json @@ -16,7 +16,7 @@ "build": { "builder": "@angular/build:application", "options": { - "baseHref": "/web/", + "baseHref": "", "browser": "src/main.ts", "tsConfig": "tsconfig.app.json", "assets": [ diff --git a/nginx.conf b/nginx.conf index ddedc66..38c7f17 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; } } diff --git a/src/styles.css b/src/styles.css index 10e107b..4c8349a 100644 --- a/src/styles.css +++ b/src/styles.css @@ -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,