Skip to content

Commit 0d40130

Browse files
committed
adding gitpod
1 parent cf28e4f commit 0d40130

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.gitpod.Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM gitpod/workspace-full-vnc
2+
3+
ENV CYPRESS_CACHE_FOLDER=/workspace/.cypress-cache
4+
5+
# Install Cypress dependencies.
6+
RUN sudo apt-get update \
7+
&& sudo DEBIAN_FRONTEND=noninteractive apt-get install -y \
8+
libgtk2.0-0 \
9+
libgtk-3-0 \
10+
libnotify-dev \
11+
libgconf-2-4 \
12+
libnss3 \
13+
libxss1 \
14+
libasound2 \
15+
libxtst6 \
16+
xauth \
17+
xvfb \
18+
&& sudo rm -rf /var/lib/apt/lists/*

.gitpod.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
tasks:
5+
- init: |
6+
npm install
7+
gp sync-done install
8+
command: npm run dev
9+
- init: gp sync-await install
10+
command: npm run cy:open
11+
ports:
12+
- port: 5900
13+
onOpen: ignore
14+
- port: 6080
15+
onOpen: open-browser
16+
- port: 10000
17+
onOpen: ignore

0 commit comments

Comments
 (0)