From 24c8e8fc2bcf47b0203901bff74206252dec390b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20W=C3=BCnsch?= Date: Mon, 14 Oct 2019 11:55:12 +0200 Subject: [PATCH] fix gitpod (#658) --- .gitpod.dockerfile | 15 +++++++++++++++ .gitpod.yml | 6 +++++- README.md | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .gitpod.dockerfile diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile new file mode 100644 index 000000000..30e7f39c5 --- /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 cda41045d..02a0e9f70 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 48fc6855c..5f79e19b7 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