diff --git a/apps/bridge-frontend/Dockerfile b/apps/bridge-frontend/Dockerfile index 25f7052..9d9eb26 100644 --- a/apps/bridge-frontend/Dockerfile +++ b/apps/bridge-frontend/Dockerfile @@ -34,10 +34,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ dumb-init RUN mkdir -p ${APP_DIR} WORKDIR ${APP_DIR} -COPY --from=installer ${APP_DIR}/node_modules/ ./node_modules/ -COPY --from=installer ${APP_DIR}/apps/bridge-frontend/ ./apps/bridge-frontend/ -COPY --from=installer ${APP_DIR}/apps/bridge-migrations/ ./apps/bridge-migrations/ -COPY --from=installer ${APP_DIR}/package.json ./package.json +COPY --from=installer ${APP_DIR} ./ RUN chown -R node:node ${APP_DIR}/ WORKDIR ${APP_DIR}/apps/bridge-frontend/ RUN chmod +x docker-entrypoint.sh diff --git a/apps/leafcutter/Dockerfile b/apps/leafcutter/Dockerfile index 9103384..99ee7b4 100644 --- a/apps/leafcutter/Dockerfile +++ b/apps/leafcutter/Dockerfile @@ -38,9 +38,7 @@ RUN chown -R node ${APP_DIR}/ USER node WORKDIR ${APP_DIR} -COPY --from=installer ${APP_DIR}/node_modules/ ./node_modules/ -COPY --from=installer ${APP_DIR}/apps/leafcutter/ ./apps/leafcutter/ -COPY --from=installer ${APP_DIR}/package.json ./package.json +COPY --from=installer ${APP_DIR} ./ USER root WORKDIR ${APP_DIR}/apps/leafcutter/ RUN chmod +x docker-entrypoint.sh diff --git a/apps/link/Dockerfile b/apps/link/Dockerfile index d894214..833a82a 100644 --- a/apps/link/Dockerfile +++ b/apps/link/Dockerfile @@ -38,10 +38,7 @@ RUN chown -R node ${APP_DIR}/ USER node WORKDIR ${APP_DIR} -COPY --from=installer ${APP_DIR}/node_modules/ ./node_modules/ -COPY --from=installer ${APP_DIR}/apps/link/ ./apps/link/ -COPY --from=installer ${APP_DIR}/apps/bridge-migrations/ ./apps/bridge-migrations/ -COPY --from=installer ${APP_DIR}/package.json ./package.json +COPY --from=installer ${APP_DIR} ./ USER root WORKDIR ${APP_DIR}/apps/link/ RUN chmod +x docker-entrypoint.sh