File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -339,10 +339,12 @@ stop-all-apis: stop-digest_service-api
339339
340340create-env-digest-api :
341341 @ cp requirements.txt ./infra/digest_api/digest_service/project_requirements.txt
342+ @ cp ted_sws ./infra/digest_api/
342343
343344build-digest_service-api : create-env-digest-api
344345 @ echo -e " $( BUILD_PRINT) Build digest_service API service $( END_BUILD_PRINT) "
345346 @ docker-compose -p common --file infra/digest_api/docker-compose.yml --env-file ${ENV_FILE} build --no-cache --force-rm
347+ @ rm -rf ./infra/digest_api/ted_sws || true
346348 @ docker-compose -p common --file infra/digest_api/docker-compose.yml --env-file ${ENV_FILE} up -d --force-recreate
347349
348350start-digest_service-api :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM docker.io/python:3.8-slim-buster
22EXPOSE 8000
33
44WORKDIR /usr/src/api/id_manager
5- COPY ted_sws /usr/src/api/id_manager/ted_sws
5+ COPY . /usr/src/api/id_manager/
66COPY digest_service /usr/src/api/id_manager
77
88RUN pip install --upgrade pip
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ services:
44 api-digest_service :
55 container_name : api-digest_service-container
66 build :
7- dockerfile : ./infra/digest_api/Dockerfile
7+ context : .
88 env_file : ../../.env
99 networks :
1010 - proxy-net
You can’t perform that action at this time.
0 commit comments