web/Dockerfile

31 lines
859 B
Text
Raw Normal View History

2024-02-07 11:17:07 +00:00
FROM debian:bullseye-slim
WORKDIR /app
RUN apt-get update && \
apt-get install -y python3 python3-pip curl && \
2024-02-07 11:17:07 +00:00
apt-get clean
COPY ./requirements.txt ./
COPY ./requirements-fast.txt ./
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
COPY ./other/sqlite_zstd-0.1.dev1+g5aaeb60-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl ./
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
RUN pip3 install --no-cache-dir sqlite_zstd-0.1.dev1+g5aaeb60-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
EXPOSE 7080
CMD ["python3", "-m", "server", "server"]