Skip to content

Commit

Permalink
update compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Jul 11, 2024
1 parent d5569a8 commit ea927bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
x-common: &common
platform: linux/amd64
image: unicef/hope-dedupe-engine:release-0.1
# platform: linux/amd64
# build:
# context: .
# dockerfile: docker/Dockerfile
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,7 @@ EOF
VOLUME /var/run/app/
EXPOSE 8000
CMD ["run"]
ENTRYPOINT docker-entrypoint.sh
#ENTRYPOINT exec docker-entrypoint.sh "$0" "$@"
ENTRYPOINT exec docker-entrypoint.sh "$0" "$@"

LABEL distro="final"
LABEL maintainer="[email protected]"
Expand Down
1 change: 1 addition & 0 deletions docker/bin/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ fi

echo "MEDIA_ROOT ${MEDIA_ROOT}"
echo "STATIC_ROOT ${STATIC_ROOT}"
echo "@ $0"

case "$1" in
setup)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ requires = ["pdm-backend"]
build-backend = "pdm.backend"

[tool.pdm.build]
includes = []
includes = ['src/hope_dedup_engine/web/templates']

[tool.pdm]
distribution = true
Expand Down

0 comments on commit ea927bf

Please sign in to comment.