diff --git a/Dockerfile b/Dockerfile index a769be3..0da473d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ ARG RUNNER_IMAGE="debian:${DEBIAN_VERSION}" FROM ${BUILDER_IMAGE} as builder # install build dependencies (and curl for EXLA) -RUN apt-get update -y && apt-get install -y build-essential git curl libmagic-dev\ +RUN apt-get update -y && apt-get install -y build-essential git curl libmagic-dev nodejs npm\ && apt-get clean && rm -f /var/lib/apt/lists/*_* # prepare build dir @@ -53,6 +53,9 @@ COPY assets assets RUN mkdir -p /app/.bumblebee +# Install dependencies for assets folder +RUN npm install --prefix assets + # compile assets RUN mix assets.deploy diff --git a/assets/pnpm-lock.yaml b/assets/pnpm-lock.yaml deleted file mode 100644 index e8a06c0..0000000 --- a/assets/pnpm-lock.yaml +++ /dev/null @@ -1,16 +0,0 @@ -lockfileVersion: '6.0' - -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - -dependencies: - toastify-js: - specifier: ^1.12.0 - version: 1.12.0 - -packages: - - /toastify-js@1.12.0: - resolution: {integrity: sha512-HeMHCO9yLPvP9k0apGSdPUWrUbLnxUKNFzgUoZp1PHCLploIX/4DSQ7V8H25ef+h4iO9n0he7ImfcndnN6nDrQ==} - dev: false