Skip to content

Commit

Permalink
Rebuild mime dependency in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
wmnnd committed Nov 1, 2021
1 parent 6191e3c commit 82a6d50
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx--no-restore-
${{ runner.os }}-buildx-
- uses: docker/login-action@v1
with:
registry: ghcr.io
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx--no-restore-
${{ runner.os }}-buildx-
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USER }}
Expand Down
4 changes: 2 additions & 2 deletions ops/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ COPY assets/package.json assets/package-lock.json ./assets/
RUN npm ci --prefix ./assets

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

FROM elixir:1.12-alpine
Expand Down

0 comments on commit 82a6d50

Please sign in to comment.