diff --git a/backend/Dockerfile b/backend/Dockerfile index d3b821f..3c29ad1 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -44,6 +44,7 @@ WORKDIR /app ENV APP_NAME=backend COPY --from=build /app/_build/prod/rel/${APP_NAME} ./ +COPY Procfile ./ RUN chown -R nobody: /app USER nobody diff --git a/backend/Procfile b/backend/Procfile new file mode 100644 index 0000000..bf37e9b --- /dev/null +++ b/backend/Procfile @@ -0,0 +1,2 @@ +web: /app/bin/backend start +release: /app/bin/backend eval "Backend.Release.migrate" \ No newline at end of file