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
|
||||
# ENV SERVER_REDIRECT_TRAILING_SLASH=false
|
||||
# ENTRYPOINT ["/static-web-server"]
|
||||
CMD ["--redirect-trailing-slash", "true"]
|
||||
# CMD ["--redirect-trailing-slash", "true"]
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
{
|
||||
description = "Flake description";
|
||||
outputs =
|
||||
{ self, nixpkgs }:
|
||||
{
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: {
|
||||
# setup the devShell for x86_64-linux.
|
||||
devShell.x86_64-linux =
|
||||
with nixpkgs.legacyPackages.x86_64-linux;
|
||||
devShell.x86_64-linux = with nixpkgs.legacyPackages.x86_64-linux;
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
pnpm
|
||||
nodejs
|
||||
just
|
||||
podman-compose
|
||||
];
|
||||
|
||||
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>
|
||||
|
||||
{#snippet PostCard(post: Post)}
|
||||
<a class="container" href={post.path}>
|
||||
<a class="container" href="/{post.path}">
|
||||
<div class="card">
|
||||
<div class="left">
|
||||
<span class="post-title">{post.title}</span>
|
||||
|
||||
+8
-2
@@ -28,12 +28,18 @@ const config = {
|
||||
mode: "scoped"
|
||||
}),
|
||||
],
|
||||
paths: {
|
||||
relative: true,
|
||||
},
|
||||
kit: {
|
||||
alias: {
|
||||
'src': './src/',
|
||||
},
|
||||
paths: {
|
||||
relative: false,
|
||||
},
|
||||
files: {
|
||||
assets: "./static",
|
||||
// assets: "./static",
|
||||
},
|
||||
adapter: adapter({
|
||||
// default options are shown. On some platforms
|
||||
@@ -41,7 +47,7 @@ const config = {
|
||||
pages: 'build',
|
||||
assets: 'build',
|
||||
fallback: undefined,
|
||||
precompress: false,
|
||||
precompress: true,
|
||||
strict: true,
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user