diff --git a/Dockerfile b/Dockerfile index e7846dc..c88488c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -# Default Dockerfile - replace with your application +# Build stage +FROM node:20-alpine AS build +WORKDIR /app +COPY . . + +# Runtime stage FROM nginx:alpine - -# Copy static files or your app -COPY . /usr/share/nginx/html/ - +COPY --from=build /app/docs /usr/share/nginx/html/ EXPOSE 80 - CMD ["nginx", "-g", "daemon off;"] diff --git a/README.md b/README.md index 0fdd537..e1bfab9 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,49 @@ -# foundary-test-1770771180 +# Foundary -Deployed at: https://hd6uptqm.threesix.ai +A product studio for conversational product development. Foundary lets teams design, build, and ship products through natural conversation — turning dialogue into working software. + +## How It Works + +Foundary treats conversation as the primary interface for product development. Instead of jumping between specs, tickets, and code, teams describe what they want in plain language and Foundary translates that into running services, APIs, and interfaces. + +## Repository Structure + +``` +├── services/ # Backend services (APIs, core logic) +├── packages/ # Shared libraries and utilities +├── workers/ # Background jobs and async processors +├── docs/ # Documentation and architecture decisions +├── Dockerfile # Container build +└── .woodpecker.yml # CI/CD pipeline +``` ## Getting Started -1. Clone the repository -2. Build with Docker: `docker build -t foundary-test-1770771180 .` -3. Run locally: `docker run -p 8080:8080 foundary-test-1770771180` +1. Clone the repository: + ```bash + git clone https://git.threesix.ai/jordan/foundary-test-1770771180.git + cd foundary-test-1770771180 + ``` -## CI/CD +2. Build: + ```bash + docker build -t foundary . + ``` -This project uses Woodpecker CI for continuous deployment. Pushing to `main` will: -- Build a Docker image -- Push to the container registry -- Deploy to Kubernetes +3. Run locally: + ```bash + docker run -p 8080:8080 foundary + ``` + +## Deployment + +Pushes to `main` trigger automatic deployment via Woodpecker CI: + +1. Build Docker image +2. Push to registry (`registry.threesix.ai`) +3. Update Kubernetes deployment + +Live at: https://hd6uptqm.threesix.ai ## Resources diff --git a/docs/.gitkeep b/docs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/packages/.gitkeep b/packages/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/services/.gitkeep b/services/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workers/.gitkeep b/workers/.gitkeep new file mode 100644 index 0000000..e69de29