1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02:00
LibreTranslate/Dockerfile

14 lines
191 B
Docker
Raw Normal View History

FROM python:3.8
2021-01-19 19:57:29 +02:00
WORKDIR /app
RUN pip install --upgrade pip
2021-02-09 15:17:06 +02:00
COPY . .
2021-02-09 15:17:06 +02:00
# Install package from source code
RUN pip install .
EXPOSE 5000
2021-02-09 15:17:06 +02:00
ENTRYPOINT [ "libretranslate", "--host", "0.0.0.0" ]