updated deps

This commit is contained in:
Danny Coates 2019-11-05 20:19:07 -08:00
parent 23ce7a1f84
commit 4a956c0247
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 1657 additions and 606 deletions

View file

@ -19,7 +19,6 @@ RUN set -x \
COPY --chown=app:app . /app
USER app
WORKDIR /app
RUN ls -la
RUN set -x \
# Build
&& npm ci \
@ -37,7 +36,9 @@ RUN set -x \
--home /app \
--uid 10001 \
app
RUN apt-get update && apt-get -y install git-core
RUN apt-get update && apt-get -y install \
git-core \
&& rm -rf /var/lib/apt/lists/*
USER app
WORKDIR /app
COPY --chown=app:app package*.json ./
@ -47,7 +48,6 @@ COPY --chown=app:app public/locales public/locales
COPY --chown=app:app server server
COPY --chown=app:app --from=builder /app/dist dist
RUN ls -la
RUN npm ci --production && npm cache clean --force
RUN mkdir -p /app/.config/configstore
RUN ln -s dist/version.json version.json