From 9d9a4cbe2050bc09b07d9e77a980e0033871189a Mon Sep 17 00:00:00 2001 From: Christian Winther Date: Wed, 6 Mar 2024 21:33:07 +0000 Subject: [PATCH] fix hadolint? --- Dockerfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 599e450b6..eecd92422 100644 --- a/Dockerfile +++ b/Dockerfile @@ -196,16 +196,16 @@ ENV NODE_ENV=$NODE_ENV WORKDIR /var/www/ +SHELL [ "bash", "-c" ] + # Install NPM dependencies RUN --mount=type=cache,id=pixelfed-node-${BUILDARCH},sharing=locked,target=/tmp/cache \ --mount=type=bind,source=package.json,target=/var/www/package.json \ --mount=type=bind,source=package-lock.json,target=/var/www/package-lock.json \ - <