diff --git a/.docker/ci/Dockerfile b/.docker/ci/Dockerfile index 22ac5b1..f2287c0 100644 --- a/.docker/ci/Dockerfile +++ b/.docker/ci/Dockerfile @@ -31,6 +31,8 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \ --classmap-authoritative \ && ln -s /opt/moodle-plugin-ci/bin/moodle-plugin-ci /usr/local/bin/moodle-plugin-ci +COPY . /plugin + ENV LANG=en_AU.UTF-8 WORKDIR /workspace diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..55965f2 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,11 @@ +.git +.github +.gitea +.docker +.dockerignore +.env +.env.* +compose.yaml +node_modules +vendor +*.log diff --git a/compose.yaml b/compose.yaml index 81a36c1..7d2f1bd 100644 --- a/compose.yaml +++ b/compose.yaml @@ -25,8 +25,6 @@ services: DB_USER: postgres MOODLE_BRANCH: v5.2.2 NPM_CONFIG_FETCH_RETRIES: 5 - volumes: - - .:/plugin:ro command: - /bin/bash - -lc