FROM jcr.infoclinica.ru/sys/wine:fedora30-1 ENV WINEARCH=win32 COPY analis pdf2png /opt/analis/ COPY healthcheck.sh entrypoint.sh / RUN rm -rf /root/.wine && \ mv /root/wine32 /root/.wine && \ mkdir -p /root/.wine/drive_c/services/analis && \ chmod +x /healthcheck.sh /entrypoint.sh HEALTHCHECK --interval=5s --start-period=3m CMD /opt/healthcheck.sh ENTRYPOINT ["/opt/entrypoint.sh"]