projetAnsible/.vscode/docker/odoo.dockerfile
2024-12-19 16:31:50 +01:00

14 lines
362 B
Docker

# Use the existing Odoo image as the base
FROM odoo:latest as odoo-custom
# Copy the entrypoint script into the container
COPY docker/entrypoint_odoo.sh /usr/local/bin/entrypoint_odoo.sh
USER root
# Make the entrypoint script executable
RUN chmod +x /usr/local/bin/entrypoint_odoo.sh
# Set the new entrypoint
ENTRYPOINT ["/usr/local/bin/entrypoint_odoo.sh"]