Hello,
Below is my docker file and it does now copy the sql file into the container…
docker file
FROM yugabytedb/yugabyte:latest
COPY ./ysqlscript.sql /
ysqlscript.sql
CREATE DATABASE yb_demo;
\c yb_demo;
\i share/schema.sql;
\i share/products.sql
\i share/users.sql
\i share/orders.sql
\i share/reviews.sql
docker run -it yb1
[root@1d3433dcafce scripts]# ls
ysqlscript.sql
but how can I invoke this SQL file inside the ysqlsh?