Skip to content

Commit

Permalink
Copy everything at once
Browse files Browse the repository at this point in the history
  • Loading branch information
wmnnd committed Feb 26, 2021
1 parent 83dc0bd commit cb8193d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ 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 && \
RUN npm run deploy --prefix ./assets && \
mix phx.digest && \
mix release

Expand Down

0 comments on commit cb8193d

Please sign in to comment.