Releases fixes

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-03-11 19:50:54 +01:00
parent 91567ba7d4
commit 239457a219
9 changed files with 59 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ RUN mix local.hex --force \
COPY lib ./lib
COPY priv ./priv
COPY config/config.exs config/prod.exs config/releases.exs ./config/
COPY config/config.exs config/prod.exs config/docker.exs ./config/
COPY rel ./rel
COPY --from=assets ./priv/static ./priv/static
@@ -55,6 +55,7 @@ EXPOSE 4000
ENV MOBILIZON_DOCKER=true
COPY --from=builder --chown=nobody:nobody _build/prod/rel/mobilizon ./
RUN mv config/docker.exs /etc/mobilizon/config.exs
COPY docker/production/docker-entrypoint.sh ./
ENTRYPOINT ["./docker-entrypoint.sh"]