Skip to content

A local-first personal finance app

Local docker build fix (#4677)

Michael Clarkb2287cded346
diff --git a/sync-server.Dockerfile b/sync-server.Dockerfile
index 176c5c9c13..5f501e5f55 100644
--- a/sync-server.Dockerfile
+++ b/sync-server.Dockerfile
@@ -35,8 +35,8 @@ RUN yarn workspaces focus @actual-app/sync-server --production
RUN rm -rf ./node_modules/@actual-app/web ./node_modules/@actual-app/sync-server
# Copy in the @actual-app/web artifacts manually, so we don't need the entire packages folder
-COPY packages/desktop-client/package.json ./node_modules/@actual-app/web/package.json
-COPY packages/desktop-client/build ./node_modules/@actual-app/web/build
+COPY ./packages/desktop-client/package.json ./node_modules/@actual-app/web/package.json
+RUN cp -r ./packages/desktop-client/build ./node_modules/@actual-app/web/build
FROM node:18-bookworm-slim as prod
diff --git a/upcoming-release-notes/4677.md b/upcoming-release-notes/4677.md
new file mode 100644
index 0000000000..f1d8c256db
--- /dev/null
+++ b/upcoming-release-notes/4677.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [MikesGlitch]
+---
+
+Fix sync-server.Dockerfile not building client correctly