Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit a4d1d70

Browse files
full parth is required to the run npm, since we switched to alpine
1 parent 8670948 commit a4d1d70

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RUN yarn install
1616
COPY . /usr/src/app
1717

1818
# Start the app
19-
CMD ["npm", "start"]
19+
CMD ["/usr/local/bin/npm", "start"]

test/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,3 @@ RUN npm install -g casperjs
88
RUN mkdir -p /usr/src/app
99

1010
WORKDIR /usr/src/app
11-
12-
ENTRYPOINT ["/bin/sh"]

0 commit comments

Comments
 (0)