Skip to content

Commit

Permalink
Merge pull request #12130 from Budibase/fix-single-image-docker
Browse files Browse the repository at this point in the history
Fixing single image docker
  • Loading branch information
adrinr authored Oct 20, 2023
2 parents 2d1e019 + 36a33bc commit 5cc3141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hosting/single/Dockerfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN ./scripts/removeWorkspaceDependencies.sh packages/worker/package.json
# We will never want to sync pro, but the script is still required
RUN echo '' > scripts/syncProPackage.js
RUN jq 'del(.scripts.postinstall)' package.json > temp.json && mv temp.json package.json
RUN ./scripts/removeWorkspaceDependencies.sh package.json
RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn yarn install --production

# copy the actual code
Expand Down

0 comments on commit 5cc3141

Please sign in to comment.