Skip to content
Merged
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
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ FROM node:18-alpine
WORKDIR /app

COPY package*.json ./
RUN npm install
RUN npm ci

COPY . .

# This will fail the Docker build if there are TypeScript/build errors
RUN npm run build

# Verify that the build directory exists
RUN test -d dist || (echo "Build failed - dist directory not found" && exit 1)

CMD ["sh", "-c", "echo Build completed successfully"]
Loading