From 9be2ed2e3b87fe8db18c4e773ed0dcd2492d83b5 Mon Sep 17 00:00:00 2001 From: Evan Bonsignori Date: Thu, 12 Dec 2024 23:02:02 -0800 Subject: [PATCH] Fix translations --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index eadf79b32d54..dd9033bb3752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,6 @@ FROM node:22-alpine@sha256:c13b26e7e602ef2f1074aef304ce6e9b7dd284c419b35d89fcf3c # This directory is owned by the node user ARG APP_HOME=/home/node/app -# Make sure there's a translations directory available to not error the COPY command -RUN mkdir -p translations && chown -R node:node translations - # Make sure we don't run anything as the root user USER node @@ -112,4 +109,4 @@ FROM preview AS production ENV ENABLED_LANGUAGES "en,zh,es,pt,ru,ja,fr,de,ko" # Copy in all translations -COPY --chown=node:node --from=base translations ./translations +COPY --chown=node:node translations ./translations