Skip to content

Build your personal knowledge base with Trilium Notes

fix gitpod (#658)

Johannes Wünsch24c8e8fc2bcf
diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile
new file mode 100644
index 0000000000..30e7f39c54
--- /dev/null
+++ b/.gitpod.dockerfile
@@ -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/*
+
diff --git a/.gitpod.yml b/.gitpod.yml
index cda41045d2..02a0e9f705 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -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
\ No newline at end of file
diff --git a/README.md b/README.md
index 48fc6855cd..5f79e19b7a 100644
--- a/README.md
+++ b/README.md
@@ -46,5 +46,5 @@ Use a browser based dev environment
Or clone locally and run
```
npm install
-npm run start
+npm run start-server
```
\ No newline at end of file