Skip to content

Commit

Permalink
Fix copying order in to allow for style purging
Browse files Browse the repository at this point in the history
  • Loading branch information
wmnnd committed Feb 26, 2021
1 parent 9eabcb7 commit 83dc0bd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ RUN mix local.hex --force && \
COPY assets/package.json assets/package-lock.json ./assets/
RUN npm ci --prefix ./assets

COPY . .
COPY assets ./assets-data
RUN mv assets-data/* assets/ && \
rm -Rf assets-data && \
npm run deploy --prefix ./assets

COPY . .
RUN mix phx.digest && \
npm run deploy --prefix ./assets && \
mix phx.digest && \
mix release

FROM elixir:1.11-alpine
Expand Down

0 comments on commit 83dc0bd

Please sign in to comment.