mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
24 lines
No EOL
560 B
Docker
24 lines
No EOL
560 B
Docker
FROM python:3.12.3-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./requirements.txt ./
|
|
COPY ./requirements-fast.txt ./
|
|
|
|
COPY ./server ./server
|
|
COPY ./core ./core
|
|
COPY ./rl_string_helper ./rl_string_helper
|
|
COPY ./database-lib ./database-lib
|
|
|
|
RUN pip install --no-cache-dir wheel
|
|
|
|
RUN pip3 install --no-cache-dir ./rl_string_helper
|
|
RUN pip3 install --no-cache-dir ./database-lib
|
|
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"] |