This commit is contained in:
2026-09-11 07:00:39 +07:00
parent 85c0a9bb63
commit 4456e5b043
28 changed files with 37 additions and 5 deletions

27
Dockerfile Normal file
View File

@@ -0,0 +1,27 @@
FROM odoo:18
USER root
# Install extra system packages if needed
RUN apt-get update && apt-get install -y \
git \
python3-pip \
python3-dev \
build-essential \
libldap2-dev \
libsasl2-dev \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*
# Copy Odoo source requirements
#COPY ./odoo18/requirements.txt /tmp/requirements.txt
# Install Python dependencies
#RUN pip3 install --break-system-packages -r /tmp/requirements.txt
# Create working directory
WORKDIR /opt/odoo
USER odoo
CMD ["python3", "/opt/odoo/odoo-bin", "-c", "/etc/odoo/odoo.conf"]