-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
37 lines (26 loc) · 849 Bytes
/
Dockerfile.dev
File metadata and controls
37 lines (26 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# =============================================================================
# Liku-AI Development Dockerfile
# For local development with hot reload
# =============================================================================
# Using Node 22 LTS Alpine with security updates
FROM node:22-alpine
# Update Alpine packages to get latest security patches
RUN apk upgrade --no-cache
# Install build dependencies for native modules
RUN apk add --no-cache python3 make g++
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install all dependencies
RUN npm ci
# Copy source (will be overridden by volume mount in dev mode)
COPY . .
# Build TypeScript
RUN npm run build
# Environment
ENV NODE_ENV=development
ENV LIKU_WS_PORT=3847
ENV LIKU_WS_HOST=0.0.0.0
EXPOSE 3847
# Development command with watch mode
CMD ["npm", "run", "dev"]