ARG BASE_REGISTRY=metasfresh
FROM $BASE_REGISTRY/metasfresh-webapi:5.175

COPY sources/configs/* /opt/metasfresh-webui-api/
COPY sources/start_webapi.sh /opt/metasfresh-webui-api/
RUN chmod 700 /opt/metasfresh-webui-api/start_webapi.sh

ENTRYPOINT ["/opt/metasfresh-webui-api/start_webapi.sh"]

EXPOSE 8080
