Grammalecte  Artifact [327409fd96]

Artifact 327409fd96a73bab04bc20abc17292597a66c66f6d740fbd1b214de2d236bb2b:

Ticket change [327409fd96] - New ticket [68c6b9a36f973c82|68c6b9a36f] <i>[FR] Grammalecte dans un container docker</i>. by thelittlefireman on 2020-10-06 12:06:20.
D 2020-10-06T12:06:20.144
J foundin 1.12.1
J icomment Bonjour,\r\nJ'essaie\sde\scréer\sun\sconteneur\sdocker\spour\slancer\sGrammalecte\sen\sdocker\smais\slorsque\sje\sdémarre\sle\sserveur,\scelui-ci\sreste\sbloqué\s(attend\sun\sappui\ssur\sla\stouche\sentrée\s???)\set\sne\sse\slance\sque\slorsque\sje\squitte\sle\sdocker.\sLe\sserveur\sne\ssemble\spas\slancé,\sj'ai\stesté\sun\scurl\shttp://localhost:8080/\smais\sj'obtiens\sune\serreur\s"connection\sreset"\r\n\r\nCréer\sle\sconteneur\s:\r\ndocker\sbuild\s-t\sgrammalecte:latest\s.\r\n\r\nDémarrer\sle\sconteneur\s:\r\ndocker\srun\s--rm\s-p\s8080:8080\s--name\sgr\sgrammalecte:latest\r\n\r\nDockerfile\r\n```\r\nFROM\spython:3-alpine\sAS\ssrc\r\n\r\nENV\sVERSION\s1.12.2\r\n\r\nRUN\sapk\sadd\s--update\s--no-cache\s\\\r\n\s\s\s\s\s\sunzip\s\\\r\n\s\s\s\s\s\swget\s\\\r\n\s&&\swget\shttp://www.dicollecte.org/grammalecte/zip/Grammalecte-fr-v${VERSION}.zip\s\\\r\n\s&&\sunzip\sGrammalecte-fr-v${VERSION}.zip\s-d\s/srv\r\n\r\nFROM\spython:3-alpine\r\n\r\nCOPY\s--from=src\s/srv/\s/srv\r\n\r\nEXPOSE\s8080\r\n\r\nCMD\spython\s/srv/grammalecte-server.py\s-p\s8080\s-t\s-mp\s1\r\n\r\n```
J login thelittlefireman
J mimetype text/plain
J private_contact 666251e9bf5de6378f5514a360268b0948bc6342
J severity Severe
J status Open
J title [FR]\sGrammalecte\sdans\sun\scontainer\sdocker
J type Code_Defect
K 68c6b9a36f973c82773ffab17c67bf077cf097a2
U thelittlefireman
Z aaf0a92af918aeef9640b491fe513f5c