ARG IMAGE=git.kis.fr:5050/rd-kis/dockerregistry/armhf/aspnet_payment:5.0
FROM $IMAGE

LABEL company="Kis SAS"
LABEL description="This images installs the service-payment that handles all the machine payment system"

WORKDIR /app
COPY publish/ .
RUN ln -s /app/runtimes /app/payment-tool/runtimes
RUN chmod 777 -R /app/client/*.lux

ENTRYPOINT [ "dotnet", "service-payment-app.dll" ]
