mikeizbicki / cmc-csci143

big data course materials
40 stars 76 forks source link

Pagila-hw2 Docker Compose Issue #460

Closed gibsonfriedman closed 8 months ago

gibsonfriedman commented 8 months ago

Whenever I try to run docker-compose up -d --build on the second pagila hw I get this error

Step 6/7 : COPY ./pagila/pagila-schema.sql /docker-entrypoint-initdb.d/01.sql COPY failed: file not found in build context or excluded by .dockerignore: stat pagila/pagila-schema.sql: file does not exist ERROR: Service 'pg' failed to build : Build failed

If anyone else has had the same error or knows of a fix I'd really appreciate it!

henrylong612 commented 8 months ago

Did you init the submodules?

gibsonfriedman commented 8 months ago

I did a while ago but doing it again seemed to fix it.