diff --git a/.dockerignore b/.dockerignore index e05914176..4a14bb0ed 100644 --- a/.dockerignore +++ b/.dockerignore @@ -24,6 +24,8 @@ Dockerfile settings.json src/node_modules +bin/node_modules +doc/node_modules admin/node_modules ui/node_modules node_modules diff --git a/Dockerfile b/Dockerfile index ea484ade5..0e6382d6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,7 @@ RUN wget https://github.com/SamTV12345/gnpm/releases/download/v0.1.0/gnpm_0.1.0_ RUN tar -xvzf gnpm_0.1.0_linux_amd64.tar.gz RUN mv gnpm /usr/local/bin/ ARG EP_DIR=/opt/etherpad-lite +WORKDIR ${EP_DIR} COPY . . RUN gnpm install RUN gnpm run build:ui