Files
crawlab/docker/base-image/Dockerfile
Marvin Zhang fec616080e fix: update Python installation command to specify version 3.12 during installation
- Modified the Dockerfile to require Python version 3.12 explicitly during the installation process.
- This change ensures that the installation script adheres to the specified version, improving consistency and reliability in Docker environments.
2024-12-30 15:26:04 +08:00

29 lines
474 B
Docker

FROM ubuntu:24.04
# Non-interactive mode
ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
COPY ./install /app/install
RUN bash /app/install/deps/deps.sh && \
bash /app/install/python/python.sh install 3.12
# Working directory
WORKDIR /app/backend
# Node path
ENV NODE_PATH=/usr/lib/node_modules
# Timezone environment
ENV TZ=Asia/Shanghai
# language environment
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
# frontend port
EXPOSE 8080
# backend port
EXPOSE 8000