Hello All ,
I have created oracle image as mentioned
In same article it is mentioned we can customized scripts while running docker we can copy our scripts at /opt/oracle/scripts/
version: "2"
services:
spark-oracle:
image: oracle:test
container_name: spark-oracle
build: ./oracle
restart: always
hostname: spark-oracle
env_file:
- ./env/oracledb-env-vars.env
ports:
- "1521:1521"
volumes:
- ./data/territoryhub-replication/oracle:/opt/oracle/oradata
docker file
FROM oracle/database:19.3.0-ee
COPY oracle-scripts/sql_dump.sql /opt/oracle/scripts/startup
When I am checking /opt/oracle/scripts/startup location I am not finding my scripts
Please let me know if any additional information is required.