mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-18 08:02:04 -05:00
Compare commits
2 Commits
master
...
ai/sync-se
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60c86964df | ||
|
|
0c12852e5a |
@@ -7,7 +7,7 @@ WORKDIR /app
|
||||
|
||||
# Copy only the files needed for installing dependencies
|
||||
COPY .yarn ./.yarn
|
||||
COPY yarn.lock package.json .yarnrc.yml tsconfig.json ./
|
||||
COPY yarn.lock package.json .yarnrc.yml tsconfig.json lage.config.js ./
|
||||
COPY packages/api/package.json packages/api/package.json
|
||||
COPY packages/component-library/package.json packages/component-library/package.json
|
||||
COPY packages/crdt/package.json packages/crdt/package.json
|
||||
@@ -31,6 +31,13 @@ COPY packages/ ./packages/
|
||||
# Increase memory limit for the build process to 8GB
|
||||
ENV NODE_OPTIONS=--max_old_space_size=8192
|
||||
|
||||
# lage's task hasher invokes `git ls-tree HEAD` during initialization, so it
|
||||
# needs a git repo even when individual targets disable caching. .dockerignore
|
||||
# omits the real .git, so seed a throwaway repo with a single commit here.
|
||||
RUN git -c init.defaultBranch=master init -q \
|
||||
&& git -c user.email=build@docker -c user.name=docker-build add -A \
|
||||
&& git -c user.email=build@docker -c user.name=docker-build commit -qm build
|
||||
|
||||
RUN yarn build:server
|
||||
|
||||
# Focus the workspaces in production mode (including @actual-app/web you just built)
|
||||
|
||||
6
upcoming-release-notes/7861.md
Normal file
6
upcoming-release-notes/7861.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfixes
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Update Dockerfile to ensure `yarn build:server` works after lage migration.
|
||||
Reference in New Issue
Block a user