odoo 18
This commit is contained in:
27
Dockerfile
Normal file
27
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user