Skip to content

Commit

Permalink
Fixing docker command
Browse files Browse the repository at this point in the history
  • Loading branch information
benji-glitsos-ga committed Nov 27, 2024
1 parent 975c94b commit d6a1003
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ RUN pip install -r ./setup/requirements.txt
COPY docs ./docs

COPY build-local.sh .
COPY Makefile .
CMD /bin/bash -c "./build-local.sh"

EXPOSE 8062
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rebuild-local:
docker build --no-cache -t dea-knowledge-hub .

start-local:
docker run -it --rm --name dea-knowledge-hub --publish 8062:8062 --volume ./docs/notebooks:/docs/notebooks --volume ./output:/output --env-file .env dea-knowledge-hub \
docker run -it --rm --name dea-knowledge-hub --publish 8062:8062 --volume ./docs/notebooks:/usr/src/app/docs/notebooks --volume ./output:/usr/src/app/output --env-file .env dea-knowledge-hub \
| grep --invert-match --regexp "WARNING.*Document headings start at" \
| grep --invert-match --regexp "WARNING.*duplicate label" \
| grep --invert-match --regexp "^copying images..." \
Expand Down

0 comments on commit d6a1003

Please sign in to comment.