remove devdeps from prod builds

This commit is contained in:
Adrien le Maire 2019-03-29 10:28:56 +01:00 committed by muxator
parent cbd393d56b
commit c1321f5b14
2 changed files with 6 additions and 2 deletions

View file

@ -13,6 +13,10 @@ LABEL maintainer="Etherpad team, https://github.com/ether/etherpad-lite"
# If not given, build the latest development version.
ARG ETHERPAD_VERSION=develop
# Set the following to production to avoid installing devDeps
# this can be one with build args (and is mandatory to build ARM version
ARG NODE_ENV=development
# grab the ETHERPAD_VERSION tarball from github (no need to clone the whole
# repository)
RUN echo "Getting version: ${ETHERPAD_VERSION}" && \