mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-30 22:39:08 +00:00
20 lines
No EOL
325 B
Makefile
20 lines
No EOL
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 \
|
|
.
|