fix deployment

This commit is contained in:
2024-07-29 22:22:11 +02:00
parent a54796a545
commit bf6b3686db
3 changed files with 5 additions and 1 deletions

View File

@@ -7,4 +7,7 @@ COPY . ./
RUN npm install && npm run build
FROM nginx:1.27.0-alpine@sha256:208b70eefac13ee9be00e486f79c695b15cef861c680527171a27d253d834be9
EXPOSE 80
COPY --from=build /app/build /usr/share/nginx/html

View File

@@ -1 +1,2 @@
export const prerender = true;
export const trailingSlash = 'always';