diff --git a/apps/studio-next/Dockerfile b/apps/studio-next/Dockerfile new file mode 100644 index 000000000..29d36590c --- /dev/null +++ b/apps/studio-next/Dockerfile @@ -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 pnpm@9.0.6 +RUN npm install --global turbo +COPY . . diff --git a/apps/studio-next/package.json b/apps/studio-next/package.json index 7373d9b95..c5b8b9584 100644 --- a/apps/studio-next/package.json +++ b/apps/studio-next/package.json @@ -1,5 +1,5 @@ { - "name": "studio-next", + "name": "@asyncapi/studio", "version": "0.1.0", "private": true, "scripts": { @@ -7,6 +7,7 @@ "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", @@ -95,5 +96,6 @@ "util": "^0.12.5", "web-vitals": "^3.1.0", "webpack": "^5.75.0" - } + }, + "packageManager": "pnpm@9.0.6" } diff --git a/apps/studio/package.json b/apps/studio/package.json index 1d324c8d5..20517997f 100644 --- a/apps/studio/package.json +++ b/apps/studio/package.json @@ -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", @@ -138,4 +138,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +}