just file, docker file and website css fixes
This commit is contained in:
+1
-1
@@ -15,4 +15,4 @@ WORKDIR /
|
|||||||
COPY --from=Builder /app/build /public
|
COPY --from=Builder /app/build /public
|
||||||
# ENV SERVER_REDIRECT_TRAILING_SLASH=false
|
# ENV SERVER_REDIRECT_TRAILING_SLASH=false
|
||||||
# ENTRYPOINT ["/static-web-server"]
|
# ENTRYPOINT ["/static-web-server"]
|
||||||
CMD ["--redirect-trailing-slash", "true"]
|
# CMD ["--redirect-trailing-slash", "true"]
|
||||||
|
|||||||
@@ -1,15 +1,17 @@
|
|||||||
{
|
{
|
||||||
description = "Flake description";
|
description = "Flake description";
|
||||||
outputs =
|
outputs = {
|
||||||
{ self, nixpkgs }:
|
self,
|
||||||
{
|
nixpkgs,
|
||||||
|
}: {
|
||||||
# setup the devShell for x86_64-linux.
|
# setup the devShell for x86_64-linux.
|
||||||
devShell.x86_64-linux =
|
devShell.x86_64-linux = with nixpkgs.legacyPackages.x86_64-linux;
|
||||||
with nixpkgs.legacyPackages.x86_64-linux;
|
|
||||||
mkShell {
|
mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pnpm
|
pnpm
|
||||||
nodejs
|
nodejs
|
||||||
|
just
|
||||||
|
podman-compose
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
build-dev:
|
||||||
|
docker build ./ --tag reg.h.doloro.co.uk/doloro/doloroweb:dev
|
||||||
|
|
||||||
|
push-dev:
|
||||||
|
docker push reg.h.doloro.co.uk/doloro/doloroweb:dev
|
||||||
|
|
||||||
|
build-latest:
|
||||||
|
docker build ./ --tag reg.h.doloro.co.uk/doloro/doloroweb:latest
|
||||||
|
|
||||||
|
push-latest: build-latest
|
||||||
|
docker push reg.h.doloro.co.uk/doloro/doloroweb:latest
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#snippet PostCard(post: Post)}
|
{#snippet PostCard(post: Post)}
|
||||||
<a class="container" href={post.path}>
|
<a class="container" href="/{post.path}">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<span class="post-title">{post.title}</span>
|
<span class="post-title">{post.title}</span>
|
||||||
|
|||||||
+8
-2
@@ -28,12 +28,18 @@ const config = {
|
|||||||
mode: "scoped"
|
mode: "scoped"
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
paths: {
|
||||||
|
relative: true,
|
||||||
|
},
|
||||||
kit: {
|
kit: {
|
||||||
alias: {
|
alias: {
|
||||||
'src': './src/',
|
'src': './src/',
|
||||||
},
|
},
|
||||||
|
paths: {
|
||||||
|
relative: false,
|
||||||
|
},
|
||||||
files: {
|
files: {
|
||||||
assets: "./static",
|
// assets: "./static",
|
||||||
},
|
},
|
||||||
adapter: adapter({
|
adapter: adapter({
|
||||||
// default options are shown. On some platforms
|
// default options are shown. On some platforms
|
||||||
@@ -41,7 +47,7 @@ const config = {
|
|||||||
pages: 'build',
|
pages: 'build',
|
||||||
assets: 'build',
|
assets: 'build',
|
||||||
fallback: undefined,
|
fallback: undefined,
|
||||||
precompress: false,
|
precompress: true,
|
||||||
strict: true,
|
strict: true,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user