make stuff actually work

This commit is contained in:
2023-08-23 01:13:11 +05:30
parent 90d6b750c3
commit bbf88c314c
3 changed files with 5 additions and 4 deletions

View File

@@ -7,12 +7,13 @@ POD_OPTIONS_TEMPLATE = \
-w /app \
-v $(PWD):/app:z \
-v $(PROJ)_modules:/app/node_modules:z \
--publish 5173:5173 \
node:alpine
dev: CONTAINER_TAG = dev
dev:
podman run $(POD_OPTIONS_TEMPLATE) npm run
podman run $(POD_OPTIONS_TEMPLATE) npm run dev -- --host
sh: CONTAINER_TAG = sh
sh:
podman run $(POD_OPTIONS_TEMPLATE) sh
podman run $(POD_OPTIONS_TEMPLATE) sh