diff --git a/.dockerignore b/.dockerignore index 7015b036..9980d983 100644 --- a/.dockerignore +++ b/.dockerignore @@ -13,7 +13,6 @@ !**/components.json !src/** -!drizzle/** !app/** !public/** diff --git a/Dockerfile b/Dockerfile index 5c3126fc..32b23e4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,14 +78,14 @@ ENV NODE_ENV="production" WORKDIR /app +COPY --from=builder /app/package.json ./ +RUN bun install --production --frozen-lockfile + COPY --from=deps /deps/restic /usr/local/bin/restic COPY --from=deps /deps/rclone /usr/local/bin/rclone COPY --from=builder /app/dist/client ./dist/client COPY --from=builder /app/dist/server ./dist/server -COPY --from=builder /app/drizzle ./assets/migrations -COPY --from=builder /app/package.json ./ - -RUN bun install --production --frozen-lockfile +COPY --from=builder /app/app/drizzle ./assets/migrations # Include third-party licenses and attribution COPY ./LICENSES ./LICENSES diff --git a/app/client/modules/volumes/tabs/docker.tsx b/app/client/modules/volumes/tabs/docker.tsx index 03403153..b9424798 100644 --- a/app/client/modules/volumes/tabs/docker.tsx +++ b/app/client/modules/volumes/tabs/docker.tsx @@ -52,7 +52,7 @@ export const DockerTabContent = ({ volume }: Props) => { }; return ( -