diff --git a/hosting/single/Dockerfile b/hosting/single/Dockerfile index 64a6b01365..141d5122d3 100644 --- a/hosting/single/Dockerfile +++ b/hosting/single/Dockerfile @@ -11,11 +11,13 @@ RUN chmod +x /cleanup.sh # build server WORKDIR /app ADD packages/server . +COPY dist/yarn.lock . RUN yarn install --frozen-lockfile --production=true && /cleanup.sh # build worker WORKDIR /worker ADD packages/worker . +COPY dist/yarn.lock . RUN yarn install --frozen-lockfile --production=true && /cleanup.sh FROM budibase/couchdb