Created
January 18, 2016 19:36
-
-
Save lerrigatto/5d11153b8993569cc43f to your computer and use it in GitHub Desktop.
Odoo Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM odoo-deboot:latest | |
MAINTAINER Enrico La Cava "[email protected]" | |
RUN useradd -s /sbin/nologin -u 1000 odoo | |
RUN mkdir /var/lib/odoo | |
RUN chown odoo:odoo /var/lib/odoo | |
COPY requirements.txt /tmp/ | |
RUN pip install -r /tmp/requirements.txt | |
ENV PATH /usr/local/bin:/usr/bin:/bin:$PATH | |
USER odoo | |
EXPOSE 8069 | |
VOLUME /opt/odoo/ | |
WORKDIR /opt/odoo | |
CMD /bin/bash odoo.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment