Skip to content

Commit

Permalink
makefile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Oct 30, 2023
1 parent d64b2d7 commit de64e28
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.PHONY: docker docker-start

CUR_DIR := $(shell pwd)

docker:
docker run -p 3000:3000 --name suave-docs --rm -it -w /mnt -v $(pwd):/mnt node:20 /bin/bash
docker run -p 3000:3000 --name suave-docs --rm -it -w /mnt -v $(CUR_DIR):/mnt node:20 /bin/bash

docker-start:
docker run -p 3000:3000 --name suave-docs --rm -it -w /mnt -v $(pwd):/mnt node:20 /usr/local/bin/yarn start
docker run -p 3000:3000 --name suave-docs --rm -it -w /mnt -v $(CUR_DIR):/mnt node:20 /usr/local/bin/yarn start

0 comments on commit de64e28

Please sign in to comment.