Merge pull request #4685 from overleaf/jpa-translations-sync

[misc] update translations sync for monorepo

GitOrigin-RevId: 794a9192212f7b63c040a08c42a1e9c6b3341609
This commit is contained in:
Jakob Ackermann
2021-08-13 12:59:12 +00:00
committed by Copybot
parent 77bcd4c39e
commit 7dc6456dca
4 changed files with 33 additions and 4 deletions
@@ -0,0 +1,6 @@
node_modules/
# Limit code access with minimal docker image.
cloudbuild.yaml
docker-compose.yml
Dockerfile
@@ -0,0 +1,7 @@
FROM node:12.22.3
WORKDIR /app/scripts/translations
COPY . /app/scripts/translations/
RUN npm ci --quiet
@@ -0,0 +1,12 @@
version: "2.3"
services:
onesky-client-jail:
build: .
volumes:
# NOTE: Limit code access with targeted bind mount:
# Give it read-and-write access to the locales.
- ../../locales:/app/locales:rw
environment:
- ONE_SKY_PUBLIC_KEY
- ONE_SKY_PRIVATE_KEY