mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 12:21:02 +01:00
Merge pull request #474 from PostHog/remove-yarn-cache-in-production
Remove yarn cache in production image
This commit is contained in:
commit
c20bc743e6
@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends curl \
|
||||
&& npm install -g yarn@1 \
|
||||
&& yarn --frozen-lockfile \
|
||||
&& yarn build \
|
||||
&& yarn cache clean \
|
||||
&& npm uninstall -g yarn \
|
||||
&& apt-get purge -y nodejs curl \
|
||||
&& rm -rf node_modules \
|
||||
|
Loading…
Reference in New Issue
Block a user