Skip to content

Commit

Permalink
Merge pull request #40 from dwyl/fix-deploy#36
Browse files Browse the repository at this point in the history
[PR] Fixing deploying `toastify` not found issue
  • Loading branch information
nelsonic authored Dec 27, 2023
2 parents 994803f + f627016 commit 78df108
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
16 changes: 0 additions & 16 deletions assets/pnpm-lock.yaml

This file was deleted.

0 comments on commit 78df108

Please sign in to comment.