Skip to content
Merged
Show file tree
Hide file tree
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
48 changes: 48 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Every image builds with the repo root as its context, so the per-app
# .dockerignore files are never applied. This one is.

# Dependencies (reinstalled inside the image)
node_modules
**/node_modules

# Python virtualenv for the genAI service - multiple GB, never needed in
# an image since requirements.txt is installed during the build
apps/genAI/.venv
**/.venv
**/__pycache__
**/*.pyc

# Build outputs
dist
**/dist
build
.next
**/.next
.turbo
**/.turbo
**/tsconfig.tsbuildinfo

# Secrets and local env
.env
.env.*
**/.env
**/.env.*
!**/.env.example
!apps/frontend/.env.production

# VCS and CI
.git
.gitignore
.github
Jenkinsfile

# Docs and assets not needed at build time
*.md
!apps/genAI/requirements.txt
assets
*.png

# Runtime data
apps/genAI/uploads
**/uploads
coverage
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ node_modules
.env.test.local
.env.production.local

VPS-DEPLOYMENT.md

# Testing
coverage

Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:22-alpine

RUN npm i -g pnpm
RUN npm i -g pnpm@9.0.0

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:22-alpine AS base
RUN npm i -g pnpm
RUN npm i -g pnpm@9.0.0
WORKDIR /app

# dependencies stage
Expand Down
2 changes: 1 addition & 1 deletion apps/http-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:22-alpine

RUN npm i -g pnpm
RUN npm i -g pnpm@9.0.0


# set working directory at repo root
Expand Down
2 changes: 1 addition & 1 deletion apps/http-server/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:22-alpine AS base

RUN npm i -g pnpm
RUN npm i -g pnpm@9.0.0
WORKDIR /app


Expand Down
2 changes: 1 addition & 1 deletion apps/ws-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:22-alpine

RUN npm i -g pnpm
RUN npm i -g pnpm@9.0.0


# set working directory at repo root
Expand Down
2 changes: 1 addition & 1 deletion apps/ws-server/Dockerfile.prod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:22-alpine AS base

RUN npm install -g pnpm
RUN npm install -g pnpm@9.0.0

WORKDIR /app

Expand Down
Loading