kopia lustrzana https://github.com/fediversespace/fediverse.space
set up migrations on deploy
rodzic
b8c474ca89
commit
d5b10a6f22
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
web: /app/bin/backend start
|
||||
release: /app/bin/backend eval "Backend.Release.migrate"
|
Ładowanie…
Reference in New Issue