Skip to content

Commit

Permalink
fix: Improve Dockerfile (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie authored Apr 13, 2024
1 parent cc84339 commit cfd9c17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
- somleng/sms-gateway
- ghcr.io/somleng/sms-gateway
somleng/sms-gateway
ghcr.io/somleng/sms-gateway
tags: |
# set latest tag for main branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ ARG APP_ROOT="/app"
WORKDIR $APP_ROOT
ENV PATH "$PATH:$APP_ROOT"

COPY --from=build-image $APP_ROOT $APP_ROOT
COPY --link --from=build-image $APP_ROOT $APP_ROOT
CMD ["somleng-sms-gateway"]

0 comments on commit cfd9c17

Please sign in to comment.