Dockerfile 402 B

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