chmod entrypoint.sh to make it executable

Did this in order to avoid the following error from appears when the "entrypoint.sh" file has not set the executable attributes.

Error that appears if entrypoint.sh is not executable:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"/entrypoint.sh\": permission denied": unknown.
This commit is contained in:
dienteperro 2018-03-01 18:37:41 -05:00 committed by GitHub
parent b3d6d018f7
commit 27165e6fae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ RUN set -x; \
# Copy entrypoint script and Odoo configuration file
COPY ./entrypoint.sh /
RUN chmod 755 /entrypoint.sh
COPY ./openerp-server.conf /etc/odoo/
RUN chown odoo /etc/odoo/openerp-server.conf