Skip to content

Commit a378327

Browse files
author
French Ben
committed
Added dockerignore ext and build using Docker
Signed-off-by: French Ben <[email protected]>
1 parent bac1b45 commit a378327

File tree

6 files changed

+341
-325
lines changed

6 files changed

+341
-325
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM node:slim
2+
WORKDIR /app
3+
COPY package.json /app
4+
RUN npm install -d
5+
COPY . /app
6+
CMD ["npm", "run", "build"]

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ npm run build
8080
```
8181
This script will install any dependencies and generate the css/js code to be injected into vscode source code.
8282

83+
### Building the extension's source code via docker
84+
Make sure that you have docker installed.
85+
```
86+
docker build -t vscode-icons .
87+
docker run --rm -it -v $PWD/dist:/app/dist vscode-icons
88+
```
89+
All of the files will be generated in the `dist` folder.
90+
8391
## Change log
8492
If you want to take a look at our [change log](https://github.com/robertohuertasm/vscode-icons/blob/master/CHANGELOG.md) just click [here](https://github.com/robertohuertasm/vscode-icons/blob/master/CHANGELOG.md).
8593

0 commit comments

Comments
 (0)