aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorKevin J Hoerr <kjhoerr@protonmail.com>2021-09-20 23:55:07 +0000
committerKevin J Hoerr <kjhoerr@protonmail.com>2021-09-20 23:55:07 +0000
commit400ab021c92101bc6db1f70fba41e673de7ee14a (patch)
treefe98eee5ef5d20667bdd31bddfed896bd5f54f0f /Dockerfile
parent62d41b4e38a6c36a299be259cec8ad55dd5ef1a1 (diff)
downloadao-coverage-400ab021c92101bc6db1f70fba41e673de7ee14a.tar.gz
ao-coverage-400ab021c92101bc6db1f70fba41e673de7ee14a.tar.bz2
ao-coverage-400ab021c92101bc6db1f70fba41e673de7ee14a.zip
One more trim for the build
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 1ea7ad3..510681f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,7 +28,8 @@ COPY --from=dependencies /app/.yarn/cache ./.yarn/cache
COPY --from=dependencies /app/.yarn/plugins ./.yarn/plugins
RUN yarn install \
&& yarn workspaces focus -A --production \
- && yarn cache clean
+ && yarn cache clean \
+ && rm -r yarn.lock .yarn
COPY --from=build /app/build ./build
COPY public ./public