Skip to content

Commit 72a1df9

Browse files
committed
Fixing Build issue
1 parent b7d867e commit 72a1df9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
set -eo pipefail
33
APP_NAME=$1
44
UPDATE_CACHE=""
5+
FOLDER_NAME="challenge-api"
56
docker-compose -f docker/docker-compose.yml build $APP_NAME
67
docker create --name app $APP_NAME:latest
78

89
if [ -d node_modules ]
910
then
1011
mv yarn.lock old-yarn.lock
11-
docker cp app:/$APP_NAME/yarn.lock yarn.lock
12+
docker cp app:/$FOLDER_NAME/yarn.lock yarn.lock
1213
set +eo pipefail
1314
UPDATE_CACHE=$(cmp yarn.lock old-yarn.lock)
1415
set -eo pipefail

0 commit comments

Comments
 (0)