1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-07-15 22:00:10 +02:00
LibreTranslate/Dockerfile

17 lines
322 B
Docker
Raw Normal View History

FROM python:3.8
2021-01-19 18:57:29 +01:00
WORKDIR /app
RUN pip install --upgrade pip
# Avoid rebuilding this step if no changes to requirements.txt
COPY requirements.txt .
RUN pip install -r requirements.txt
2021-01-19 20:05:23 +01:00
# Copy everything else
COPY app app
COPY *.py LICENSE README.md ./
EXPOSE 5000
ENTRYPOINT [ "python", "main.py", "--host", "0.0.0.0" ]