diff --git a/docker/images/plain/Dockerfile b/docker/images/plain/Dockerfile index cf589405..0375106a 100644 --- a/docker/images/plain/Dockerfile +++ b/docker/images/plain/Dockerfile @@ -2,4 +2,4 @@ FROM node:16 WORKDIR /automatisch -RUN yarn global add @automatisch/cli +RUN yarn global add @automatisch/cli@0.1.2 diff --git a/docker/images/wait-for-postgres/Dockerfile b/docker/images/wait-for-postgres/Dockerfile index 2968efd5..3b59bc6f 100644 --- a/docker/images/wait-for-postgres/Dockerfile +++ b/docker/images/wait-for-postgres/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 +RUN yarn global add @automatisch/cli@0.1.2 EXPOSE 3000 CMD sh /automatisch/wait-for-postgres.sh automatisch start --env-file=/automatisch/storage/.env