Skip to content

Commit

Permalink
[update] run-devでボリュームをマウントするように
Browse files Browse the repository at this point in the history
  • Loading branch information
eito2002 committed Oct 12, 2024
1 parent 36c90e5 commit 69f9416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ run-dev:
fi
@sleep 1
@if [ -z "$$(docker ps -aqf name=$(DEV_CONTAINER_NAME))" ]; then \
docker run -it --name $(DEV_CONTAINER_NAME) -p $(DEV_PORT):$(WEBSERV_PORT) $(DEV_IMAGE_NAME):$(DEV_IMAGE_TAG); \
docker run -it --name $(DEV_CONTAINER_NAME) -p $(DEV_PORT):$(WEBSERV_PORT) -v .:/workspaces/webserv/ $(DEV_IMAGE_NAME):$(DEV_IMAGE_TAG); \
elif [ -z "$$(docker ps -qf name=$(DEV_CONTAINER_NAME))" ]; then \
docker start $(DEV_CONTAINER_NAME); \
else \
Expand Down

0 comments on commit 69f9416

Please sign in to comment.