mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-12-22 05:55:07 -05: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 \
|
||
|
.
|