Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Doridian committed Mar 29, 2024
1 parent bf59bdc commit 9b2a940
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and lint
name: Lint
on: [push]

jobs:
Expand All @@ -20,7 +20,7 @@ jobs:
uses: docker/build-push-action@v5
with:
push: false
target: dev
target: base_with_app
build-args: |
GIT_REVISION=${{ github.sha }}
tags: |
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ FROM base AS dev

ENTRYPOINT [ "/bin/sh" ]


FROM base AS default
FROM base AS base_with_app

COPY --chown=api:api . /home/api/app
USER api:api

FROM base_with_app AS default

ENV MIX_ENV=prod
RUN ./build.sh

Expand Down

0 comments on commit 9b2a940

Please sign in to comment.