-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (21 loc) · 801 Bytes
/
Dockerfile
File metadata and controls
30 lines (21 loc) · 801 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
FROM node:24-alpine AS builder
ARG VERSION
ARG REVISION
ARG BUILDTIME
WORKDIR /build
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM joseluisq/static-web-server:2 AS runner
LABEL org.opencontainers.image.title="DEVS" \
org.opencontainers.image.description="Browser-native AI agent orchestration platform" \
org.opencontainers.image.url="https://github.com/codename-co/devs" \
org.opencontainers.image.source="https://github.com/codename-co/devs" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.revision="${REVISION}" \
org.opencontainers.image.created="${BUILDTIME}" \
org.opencontainers.image.licenses="MIT"
COPY --from=builder /build/dist ./public
ENV SERVER_LOG_LEVEL=info
ENV SERVER_LOG_WITH_ANSI=true