Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

slimmed down the docker image size

daniel31x131558854f7847
diff --git a/.dockerignore b/.dockerignore
index 653fccc4..09e7c08f 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -5,4 +5,10 @@ pgdata
docker-compose.yml
Dockerfile
README.md
-.yarn/install-state.gz
\ No newline at end of file
+.yarn/install-state.gz
+./apps/mobile
+**/.next/cache
+**/.next/cache/**
+data
+data.ms
+.git
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index cca6cab0..3e98482f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -49,9 +49,10 @@ certificates
# generated files and folders
/data
+/data.ms
+meilisearch
.idea
prisma/dev.db
-data.ms
.turbo
service-account-file.json
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index feb95ce0..a389b659 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -56,7 +56,8 @@ RUN set -eux && \
COPY . .
RUN yarn prisma:generate && \
- yarn web:build
+ yarn web:build && \
+ rm -rf apps/web/.next/cache
HEALTHCHECK --interval=30s \
--timeout=5s \