From d71c4cba8b0facdd67aa023c9ea16592f4de3288 Mon Sep 17 00:00:00 2001 From: Martin Sottnik Date: Mon, 29 Jan 2024 15:15:46 +0100 Subject: [PATCH] build fix --- .dockerignore | 2 +- Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 137bb762..bd6b26e5 100644 --- a/.dockerignore +++ b/.dockerignore @@ -10,7 +10,7 @@ # now we add what we want to be not-ignored !/provoke.txt !/package.json -!/yarn.lock +!/package-lock.json !/src !/tsconfig.json !/tsconfig.production.json diff --git a/Dockerfile b/Dockerfile index 37fc1ab8..d7b1d174 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,7 @@ COPY --from=build /app/build /app COPY --from=build /app/prisma /app/prisma COPY --from=build /app/sample.csv /app/sample.csv COPY --from=build /app/package.json /app +COPY --from=build /app/package-lock.json /app WORKDIR /app USER root