mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-14 12:11:09 +00:00
13 lines
191 B
Docker
13 lines
191 B
Docker
FROM python:3.8
|
|
|
|
WORKDIR /app
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
COPY . .
|
|
|
|
# Install package from source code
|
|
RUN pip install .
|
|
|
|
EXPOSE 5000
|
|
ENTRYPOINT [ "libretranslate", "--host", "0.0.0.0" ]
|