From 040d5f2dcbf63b35fca5bd3e8066cd463070a423 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 19 May 2023 18:30:48 +0200 Subject: [PATCH] Copy dist to dist --- packages/server/Dockerfile | 4 ++-- packages/worker/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/server/Dockerfile b/packages/server/Dockerfile index ac7d4a1b3f..bd27ca0eeb 100644 --- a/packages/server/Dockerfile +++ b/packages/server/Dockerfile @@ -5,7 +5,7 @@ LABEL com.centurylinklabs.watchtower.lifecycle.pre-update="scripts/watchtower-ho LABEL com.centurylinklabs.watchtower.lifecycle.post-update="scripts/watchtower-hooks/post-update.sh" LABEL com.centurylinklabs.watchtower.lifecycle.post-check="scripts/watchtower-hooks/post-check.sh" -WORKDIR /app/dist +WORKDIR /app ENV PORT=4001 ENV COUCH_DB_URL=https://couchdb.budi.live:5984 @@ -32,7 +32,7 @@ RUN yarn \ RUN apt-get remove -y --purge --auto-remove g++ make python \ && rm -rf /tmp/* /root/.node-gyp /usr/local/lib/node_modules/npm/node_modules/node-gyp -COPY dist/ . +COPY dist/ dist/ COPY docker_run.sh . COPY builder/ builder/ COPY client/ client/ diff --git a/packages/worker/Dockerfile b/packages/worker/Dockerfile index ee22d0f261..b96260f5ed 100644 --- a/packages/worker/Dockerfile +++ b/packages/worker/Dockerfile @@ -5,7 +5,7 @@ LABEL com.centurylinklabs.watchtower.lifecycle.pre-update="scripts/watchtower-ho LABEL com.centurylinklabs.watchtower.lifecycle.post-update="scripts/watchtower-hooks/post-update.sh" LABEL com.centurylinklabs.watchtower.lifecycle.post-check="scripts/watchtower-hooks/post-check.sh" -WORKDIR /app/dist +WORKDIR /app # handle node-gyp RUN apk add --no-cache --virtual .gyp python3 make g++ @@ -17,7 +17,7 @@ RUN yarn RUN apk del .gyp \ && yarn cache clean -COPY dist/ . +COPY dist/ dist/ EXPOSE 4001