web/Dockerfile

24 lines
560 B
Text
Raw Normal View History

2024-07-20 07:14:54 +00:00
FROM python:3.12.3-slim
2024-02-07 11:17:07 +00:00
WORKDIR /app
COPY ./requirements.txt ./
COPY ./requirements-fast.txt ./
2024-04-26 10:41:02 +00:00
COPY ./server ./server
2024-02-07 11:17:07 +00:00
COPY ./core ./core
COPY ./rl_string_helper ./rl_string_helper
2024-02-23 05:47:31 +00:00
COPY ./database-lib ./database-lib
2024-02-07 11:17:07 +00:00
RUN pip install --no-cache-dir wheel
RUN pip3 install --no-cache-dir ./rl_string_helper
2024-02-23 05:47:31 +00:00
RUN pip3 install --no-cache-dir ./database-lib
2024-02-07 11:17:07 +00:00
RUN pip3 install --no-cache-dir ./core
RUN pip3 install --no-cache-dir -r requirements.txt
RUN pip3 install --no-cache-dir -r requirements-fast.txt
EXPOSE 7080
CMD ["python3", "-m", "server", "server"]