Odoo / Dockerfile
Rsnarsna's picture
Update Dockerfile
8853208 verified
Raw
History Blame Contribute Delete
481 Bytes
FROM odoo:19.0
USER root
# Fix locale + install pg client
RUN apt-get update && apt-get install -y \
postgresql-client \
curl \
locales \
&& locale-gen en_US.UTF-8 \
&& update-locale LANG=en_US.UTF-8 \
&& rm -rf /var/lib/apt/lists/*
ENV LANG=en_US.UTF-8
ENV LC_ALL=en_US.UTF-8
# Copy entrypoint
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh \
&& chown -R odoo:odoo /var/lib/odoo
EXPOSE 7860
USER odoo
ENTRYPOINT ["/entrypoint.sh"]