npm don’t install dev dependencies.

This commit is contained in:
Koen Kanters
2019-09-17 19:20:52 +02:00
parent 130366575e
commit 983f55ce3d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ RUN echo "{\"hash\": \"$COMMIT\"}" > .hash.json
# Install dependencies
RUN apk add --update --no-cache make gcc g++ python linux-headers udev nodejs npm git && \
npm install --unsafe-perm && \
npm install --unsafe-perm --production && \
apk del make gcc g++ python linux-headers udev git
# Entrypoint
+1 -1
View File
@@ -15,7 +15,7 @@ RUN [ "qemu-arm-static", "/bin/sh", "-c", \
"cp /app/data/configuration.yaml /app && \
cp /app/docker/run.sh /app && chmod +x /app/run.sh && \
apk add --update --no-cache make gcc g++ python linux-headers udev nodejs npm git && \
npm install --unsafe-perm && \
npm install --unsafe-perm --production && \
apk del make gcc g++ python linux-headers udev git"]
# Entrypoint
+1 -1
View File
@@ -15,7 +15,7 @@ RUN [ "qemu-aarch64-static", "/bin/sh", "-c", \
"cp /app/data/configuration.yaml /app && \
cp /app/docker/run.sh /app && chmod +x /app/run.sh && \
apk add --update --no-cache make gcc g++ python linux-headers udev nodejs npm git && \
npm install --unsafe-perm && \
npm install --unsafe-perm --production && \
apk del make gcc g++ python linux-headers udev git"]
# Entrypoint