FROM images.sdsys.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 /healthcheck.sh ENTRYPOINT ["/entrypoint.sh"]