Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -48,11 +48,16 @@ RUN curl -L -o /app/en_oc-1_3.argosmodel \
|
|
48 |
ls -lh /app/en_oc-1_3.argosmodel && \
|
49 |
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/en_oc-1_3.argosmodel')"
|
50 |
|
51 |
-
# Install French model
|
52 |
RUN curl -L -o /app/en_fr.argosmodel \
|
53 |
https://argos-net.com/v1/translate-en_fr-1_9.argosmodel && \
|
54 |
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/en_fr.argosmodel')"
|
55 |
|
|
|
|
|
|
|
|
|
|
|
56 |
# Install German model
|
57 |
RUN curl -L -o /app/en_de.argosmodel \
|
58 |
https://argos-net.com/v1/translate-en_de-1_0.argosmodel && \
|
|
|
48 |
ls -lh /app/en_oc-1_3.argosmodel && \
|
49 |
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/en_oc-1_3.argosmodel')"
|
50 |
|
51 |
+
# Install English to French model
|
52 |
RUN curl -L -o /app/en_fr.argosmodel \
|
53 |
https://argos-net.com/v1/translate-en_fr-1_9.argosmodel && \
|
54 |
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/en_fr.argosmodel')"
|
55 |
|
56 |
+
# Install French to english model
|
57 |
+
RUN curl -L -o /app/fr_en.argosmodel \
|
58 |
+
https://argos-net.com/v1/translate-fr_en-1_9.argosmodel && \
|
59 |
+
/app/venv/bin/python3 -c "import argostranslate.package; argostranslate.package.install_from_path('/app/fr_en.argosmodel')"
|
60 |
+
|
61 |
# Install German model
|
62 |
RUN curl -L -o /app/en_de.argosmodel \
|
63 |
https://argos-net.com/v1/translate-en_de-1_0.argosmodel && \
|