commit 4a0cf382c4b152fa4789a4d65585c117ecd03bd3
parent 1761c0324c0f5d9dda468c2dd607d3e336b7b01b
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 9 Feb 2022 20:45:00 +0100
Make that Dockerfile happier
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -14,6 +14,7 @@ WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN npx browserslist@latest --update-db
+RUN mkdir ./localstorage && echo "4" >> ./localstorage/version
RUN npm run build && npm install --only=production --ignore-scripts --prefer-offline
# Production image, copy all the files and run next