Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Dockerfile.calm-studio
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Standalone dev image for CALM Studio.
# Clones the repo at build time and starts the Vite dev server on port 5173.
#
# Build: docker build -f Dockerfile.calm-studio -t calm-studio .
# Run: docker run -p 5173:5173 calm-studio

FROM node:26

RUN apt-get update && apt-get install -y --no-install-recommends git \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /app

RUN git clone https://github.com/finos/architecture-as-code.git .

RUN npm install

RUN npm run build --workspace=@finos/calm-models && \
npm run build --workspace=@calmstudio/calm-core && \
npm run build --workspace=@calmstudio/extensions

EXPOSE 5173

CMD ["npm", "run", "dev", "--workspace=@calmstudio/studio", "--", "--host"]
Loading