Support running the Electron app in Gitpod for faster code reviews

This commit is contained in:
Jan Keromnes 2019-12-05 10:26:34 +00:00
parent 20bc3c6f13
commit 9a27252d91
2 changed files with 9 additions and 4 deletions

View File

@ -2,8 +2,12 @@ image:
file: Dockerfile
ports:
- port: 3000
onOpen: open-browser
- port: 3000
onOpen: open-preview
- port: 5900
onOpen: ignore
- port: 6080
onOpen: ignore
tasks:
- init: >

View File

@ -1,4 +1,4 @@
FROM gitpod/workspace-full
FROM gitpod/workspace-full-vnc
USER root
RUN apt-get update -q --fix-missing && \
@ -7,7 +7,8 @@ RUN apt-get update -q --fix-missing && \
build-essential \
libssl-dev \
golang-go \
libxkbfile-dev
libxkbfile-dev \
libnss3-dev
RUN set -ex && \
tmpdir=$(mktemp -d) && \