0
0
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:
Tim Glaser 2020-04-07 11:05:35 +01:00 committed by GitHub
commit c20bc743e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 \