docker fixed
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Dockerfile
|
||||
@@ -13,3 +13,6 @@ RUN pnpm run build
|
||||
FROM ghcr.io/static-web-server/static-web-server:latest
|
||||
WORKDIR /
|
||||
COPY --from=Builder /app/build /public
|
||||
# ENV SERVER_REDIRECT_TRAILING_SLASH=false
|
||||
# ENTRYPOINT ["/static-web-server"]
|
||||
CMD ["--redirect-trailing-slash", "true"]
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@ services:
|
||||
website:
|
||||
build: .
|
||||
ports:
|
||||
- "80:80"
|
||||
- "5127:80"
|
||||
|
||||
@@ -5,6 +5,7 @@ import { mdsvex } from "mdsvex";
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
base: '',
|
||||
extensions: [".svelte", ".md"],
|
||||
emitCss: true,
|
||||
preprocess: [
|
||||
|
||||
Reference in New Issue
Block a user