Skip to content

Commit

Permalink
changed deployment script to stop and remove old container
Browse files Browse the repository at this point in the history
  • Loading branch information
st-vi committed Oct 18, 2023
1 parent ee4236e commit b487bb7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion WebSocketLanguageServer/deployment.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash

docker kill ws-server-uvls
docker rm ws-server-uvls

docker build -t ws-server-uvls .
docker run -p 30000:30000 -it ws-server-uvls:latest
docker run --name ws-server-uvls -d -p 30000:30000 -t ws-server-uvls:latest

0 comments on commit b487bb7

Please sign in to comment.