Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Commit fc1d7fc

Browse files
committed
Make image a prerequisite of package
- Add all to phony targets
1 parent 9b38d28 commit fc1d7fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
.PHONY: image package clean
1+
.PHONY: all image package clean
22

3-
all: image package
3+
all: package
44

55
image:
66
docker build --tag amazonlinux:nodejs .
77

8-
package:
8+
package: image
99
docker run --rm --volume ${PWD}/lambda:/build amazonlinux:nodejs npm install --production
1010

1111
clean:

0 commit comments

Comments
 (0)