Fix dockerfile and docs (#1746)
This commit is contained in:
Родитель
4551f1dd0e
Коммит
53856c80f6
|
@ -24,4 +24,4 @@ COPY --from=builder /app/packages/compiler/*.tgz /tmp/compiler.tgz
|
|||
|
||||
RUN npm install -g /tmp/compiler.tgz && rm /tmp/compiler.tgz
|
||||
|
||||
ENTRYPOINT [ "typespec" ]
|
||||
ENTRYPOINT [ "tsp" ]
|
||||
|
|
|
@ -20,17 +20,17 @@ docker run \
|
|||
### Install dependencies
|
||||
|
||||
```bash
|
||||
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/tsp install
|
||||
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/typespec install
|
||||
```
|
||||
|
||||
### Compile
|
||||
|
||||
```bash
|
||||
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/tsp compile .
|
||||
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/typespec compile .
|
||||
```
|
||||
|
||||
### Init a new project
|
||||
|
||||
```bash
|
||||
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/tsp init
|
||||
docker run -v "${pwd}:/wd" --workdir="/wd" -t azsdkengsys.azurecr.io/typespec init
|
||||
```
|
||||
|
|
Загрузка…
Ссылка в новой задаче