diff --git a/docker/images/main/Dockerfile b/docker/images/main/Dockerfile index 33c66b6d..9bd1d84b 100644 --- a/docker/images/main/Dockerfile +++ b/docker/images/main/Dockerfile @@ -9,7 +9,7 @@ RUN mkdir -p /automatisch/storage RUN touch /automatisch/storage/.env RUN echo "ENCRYPTION_KEY=$(openssl rand -base64 36)" >> /automatisch/storage/.env RUN echo "APP_SECRET_KEY=$(openssl rand -base64 36)" >> /automatisch/storage/.env -RUN yarn global add @automatisch/cli@0.1.5 +RUN yarn global add @automatisch/cli@0.2.0 EXPOSE 3000 CMD sh /automatisch/wait-for-postgres.sh automatisch start --env-file=/automatisch/storage/.env diff --git a/docker/images/worker/Dockerfile b/docker/images/worker/Dockerfile index c6e40677..05fa46ea 100644 --- a/docker/images/worker/Dockerfile +++ b/docker/images/worker/Dockerfile @@ -6,5 +6,5 @@ RUN apt-get update && apt-get install -y postgresql-client COPY ./wait-for-postgres.sh /automatisch/wait-for-postgres.sh -RUN yarn global add @automatisch/cli@0.1.5 +RUN yarn global add @automatisch/cli@0.2.0 CMD sh /automatisch/wait-for-postgres.sh automatisch start-worker --env-file /automatisch/storage/.env