mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-29 14:10:17 +00:00
20 lines
325 B
Makefile
20 lines
325 B
Makefile
|
run:
|
||
|
docker run -i -d -p 8080:8080 node-distroless
|
||
|
|
||
|
build-naive:
|
||
|
docker build \
|
||
|
-f $(CURDIR)/Dockerfile.naive \
|
||
|
-t node-naive \
|
||
|
.
|
||
|
|
||
|
build-non-root:
|
||
|
docker build \
|
||
|
-f $(CURDIR)/Dockerfile.non-root \
|
||
|
-t node-non-root \
|
||
|
.
|
||
|
|
||
|
build-distroless:
|
||
|
docker build \
|
||
|
-f $(CURDIR)/Dockerfile.distroless \
|
||
|
-t node-distroless \
|
||
|
.
|