Skip to content

Commit

Permalink
Add heroku.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tm-kn committed Nov 26, 2024
1 parent 268b7b2 commit 53ab82d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ARG IMAGE_TAG=latest

FROM "$IMAGE":"$IMAGE_TAG"

ENV WORKER_CLASS=sync
ENV NPM_BUILD_COMMAND=compile
ARG BUILD_VERSION
ENV BUILD_VERSION="$BUILD_VERSION"
Expand Down
9 changes: 9 additions & 0 deletions heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
build:
config:
IMAGE_TAG: "custom-port"
docker:
web: Dockerfile
release:
image: web
command:
- poetry run python /app/manage.py check --deploy && poetry run python /app/manage.py createcachetable && poetry run python /app/manage.py migrate --noinput

0 comments on commit 53ab82d

Please sign in to comment.