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:
parent
b3d6d018f7
commit
27165e6fae
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user