updated deps
This commit is contained in:
parent
23ce7a1f84
commit
4a956c0247
3 changed files with 1657 additions and 606 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue