Compare commits
1 Commits
05cc613a0c
...
be2febf0fe
Author | SHA1 | Date |
---|---|---|
wpetit | be2febf0fe |
11
Makefile
11
Makefile
|
@ -16,17 +16,16 @@ docker-image:
|
|||
docker-run:
|
||||
docker run \
|
||||
--rm -it \
|
||||
-p 8080:8080 \
|
||||
-p 2525:2525 \
|
||||
-p 3000:3000 \
|
||||
--tmpfs /app/data \
|
||||
fake-sms:latest
|
||||
|
||||
docker-release:
|
||||
docker tag fake-sms:latest bornholm/fake-sms:latest
|
||||
docker tag fake-sms:latest bornholm/fake-sms:$(DOCKER_DATE_TAG)
|
||||
docker tag fake-sms:latest cadoles/fake-sms:latest
|
||||
docker tag fake-sms:latest cadoles/fake-sms:$(DOCKER_DATE_TAG)
|
||||
docker login
|
||||
docker push bornholm/fake-sms:latest
|
||||
docker push bornholm/fake-sms:$(DOCKER_DATE_TAG)
|
||||
docker push cadoles/fake-sms:latest
|
||||
docker push cadoles/fake-sms:$(DOCKER_DATE_TAG)
|
||||
|
||||
test:
|
||||
go test -v -race ./...
|
||||
|
|
|
@ -7,7 +7,7 @@ Serveur d'envoi de SMS factice pour le développement avec interface web.
|
|||
### Avec Docker
|
||||
|
||||
```bash
|
||||
docker run -it --rm -p 3000:3000 bornholm/fake-sms
|
||||
docker run -it --rm -p 3000:3000 cadoles/fake-sms
|
||||
```
|
||||
|
||||
L'interface Web sera accessible à l'adresse http://localhost:3000/.
|
||||
|
|
Loading…
Reference in New Issue