mirror of
https://github.com/zadam/trilium.git
synced 2024-12-25 08:43:03 +08:00
fix gitpod (#658)
This commit is contained in:
parent
1923bf7dda
commit
24c8e8fc2b
3 changed files with 21 additions and 2 deletions
15
.gitpod.dockerfile
Normal file
15
.gitpod.dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM gitpod/workspace-full
|
||||
|
||||
RUN sudo apt-get update \
|
||||
&& sudo apt-get install -yq --no-install-recommends \
|
||||
libpng16-16 \
|
||||
libpng-dev \
|
||||
pkg-config \
|
||||
autoconf \
|
||||
libtool \
|
||||
build-essential \
|
||||
nasm \
|
||||
libx11-dev \
|
||||
libxkbfile-dev \
|
||||
&& sudo rm -rf /var/lib/apt/lists/*
|
||||
|
|
@ -1,7 +1,11 @@
|
|||
image:
|
||||
file: .gitpod.dockerfile
|
||||
|
||||
tasks:
|
||||
- before: nvm install 10 && nvm use 10
|
||||
init: npm install
|
||||
command: npm run start
|
||||
command: npm run start-server
|
||||
|
||||
ports:
|
||||
- port: 8080
|
||||
onOpen: open-preview
|
|
@ -46,5 +46,5 @@ Use a browser based dev environment
|
|||
Or clone locally and run
|
||||
```
|
||||
npm install
|
||||
npm run start
|
||||
npm run start-server
|
||||
```
|
Loading…
Reference in a new issue