-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip download and installation of Cypress
We never run those tests and this repo builds a production image. It is not needed.
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,8 @@ COPY --from=php-builder /tmp/koel /tmp/koel | |
|
||
# Install, build frontend assets and then delete the sources to save disk space | ||
RUN cd /tmp/koel/resources/assets && \ | ||
yarn install --non-interactive && \ | ||
# Skip cypress download and installation. It is not needed for a production image | ||
CYPRESS_INSTALL_BINARY=0 yarn install --non-interactive && \ | ||
This comment has been minimized.
Sorry, something went wrong. |
||
cd /tmp/koel/ && \ | ||
yarn install --non-interactive && \ | ||
This comment has been minimized.
Sorry, something went wrong.
Filius-Patris
Contributor
|
||
yarn run production && \ | ||
|
Why is this parameter set for this install? The
package.json
of this directory (source) doesn't contain the cypress dependency.