Skip to content

Commit

Permalink
feat: add Dockerfile, Cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
aeworxet committed May 31, 2024
1 parent a59fa04 commit 2af65c9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
10 changes: 10 additions & 0 deletions apps/studio-next/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:18-alpine as base

FROM base AS builder
RUN apk add --no-cache libc6-compat
RUN apk update
# Set working directory
WORKDIR /app
RUN npm install --global [email protected]
RUN npm install --global turbo
COPY . .
6 changes: 4 additions & 2 deletions apps/studio-next/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "studio-next",
"name": "@asyncapi/studio",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev -p 3001",
"build": "next build",
"start": "next start",
"lint": "next lint",
"docker:build": "docker build -t asyncapi/studio:latest .",
"cy:e2e:chrome": "cypress run --e2e --browser chrome",
"cy:e2e:chromium": "cypress run --e2e --browser chromium",
"cy:e2e:edge": "cypress run --e2e --browser edge",
Expand Down Expand Up @@ -95,5 +96,6 @@
"util": "^0.12.5",
"web-vitals": "^3.1.0",
"webpack": "^5.75.0"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions apps/studio/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@asyncapi/studio",
"name": "@asyncapi/studi",
"version": "0.21.1",
"description": "One place that allows you to develop an AsyncAPI document, validate it, convert it to the latest version, preview the documentation and visualize the events flow.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -138,4 +138,4 @@
"publishConfig": {
"access": "public"
}
}
}

0 comments on commit 2af65c9

Please sign in to comment.