Skip to content

Commit da7ff2b

Browse files
authored
Merge pull request #632 from topcoder-platform/root-file-system-access-fix
Root file system access fix
2 parents 9d76183 + 838f096 commit da7ff2b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ COPY . /challenge-api
88
WORKDIR /challenge-api
99

1010
# Install the dependencies from package.json
11-
RUN HOME=$(pwd) yarn install
11+
RUN mkdir -p /yarncache
12+
ENV YARN_CACHE_FOLDER=/yarncache
13+
RUN yarn install
1214

1315
CMD yarn start

0 commit comments

Comments
 (0)