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