diff --git a/Dockerfile b/Dockerfile index 97feec7..2ca7ea6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" diff --git a/heroku.yml b/heroku.yml new file mode 100644 index 0000000..8d5645c --- /dev/null +++ b/heroku.yml @@ -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 \ No newline at end of file