Skip to content

Commit

Permalink
chore: updates for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
nuffin committed Oct 14, 2024
1 parent f9b8405 commit 8e981ed
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile → docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM semantic-search-base:latest

WORKDIR /app

COPY gunicorn.conf.py ./
COPY docker/gunicorn.conf.py ./

# Expose the port the app runs on (change if necessary)
EXPOSE 35000
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/build-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ TAG="${IMAGE_NAME}:$(date +%m%d_%H%M)"
TAG_SUFFIX=$1
test ! -z "${TAG_SUFFIX}" && TAG="${TAG}-${TAG_SUFFIX}"

docker build -t "${TAG}" -f Dockerfile.base . \
docker build -t "${TAG}" -f docker/Dockerfile.base . \
&& docker tag ${TAG} ${IMAGE_NAME}:latest

# TAR_BALL_FILE_PATH="$(echo ${TAG} | sed "s,:,.,").tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ TAG="${IMAGE_NAME}:$(date +%m%d_%H%M)"
TAG_SUFFIX=$1
test ! -z "${TAG_SUFFIX}" && TAG="${TAG}-${TAG_SUFFIX}"

docker build -t "${TAG}" -f Dockerfile . \
docker build -t "${TAG}" -f docker/Dockerfile . \
&& docker tag ${TAG} ${IMAGE_NAME}:latest

0 comments on commit 8e981ed

Please sign in to comment.