Fix docker build

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-03-15 12:52:38 +01:00
parent 56cc052e55
commit 4d47b73de2
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -55,7 +55,7 @@ EXPOSE 4000
ENV MOBILIZON_DOCKER=true ENV MOBILIZON_DOCKER=true
COPY --from=builder --chown=nobody:nobody _build/prod/rel/mobilizon ./ COPY --from=builder --chown=nobody:nobody _build/prod/rel/mobilizon ./
RUN mv config/docker.exs /etc/mobilizon/config.exs RUN mv /releases/${MOBILIZON_VERSION}/runtime.exs /etc/mobilizon/config.exs
COPY docker/production/docker-entrypoint.sh ./ COPY docker/production/docker-entrypoint.sh ./
ENTRYPOINT ["./docker-entrypoint.sh"] ENTRYPOINT ["./docker-entrypoint.sh"]