projetAnsible/.vscode/docker/odoo.dockerfile
2024-12-09 06:16:28 +01:00

14 lines
355 B
Docker

# Use the existing Odoo image as the base
FROM odoo:latest as odoo-custom
# Copy the entrypoint script into the container
COPY 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"]