From 01db6b0f60ff58996e711abccfb3dcd4d3f322da Mon Sep 17 00:00:00 2001 From: thisfro Date: Sat, 19 Jun 2021 12:33:11 +0200 Subject: [PATCH] Use API to pull from loco --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e230343..a01adfa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,8 @@ RUN yarn install && \ yarn build # Pull translation -RUN php bin/console translation:pull loco --locales=en -RUN php bin/console translation:pull loco --locales=de +RUN curl https://localise.biz/api/export/locale/en.yml?key=RCrByb141Z9P3QjMhWgHrqRrdxu9x-Rro&format=symfony > translations/messages.en.yml +RUN curl https://localise.biz/api/export/locale/de.yml?key=RCrByb141Z9P3QjMhWgHrqRrdxu9x-Rro&format=symfony > translations/messages.de.yml RUN cp .env.staging .env