-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (22 loc) · 774 Bytes
/
Dockerfile
File metadata and controls
35 lines (22 loc) · 774 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
FROM node:22-alpine
ARG APP_VERSION
LABEL org.opencontainers.image.source="https://github.com/kitakitsune0x/bigbossbot"
LABEL org.opencontainers.image.title="BIG BOSS BOT"
LABEL org.opencontainers.image.description="Real-time OSINT command center for monitoring the Middle East conflict."
LABEL org.opencontainers.image.licenses="MIT"
WORKDIR /app
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
ENV APP_VERSION=${APP_VERSION}
ENV BIG_BOSS_VERSION=${APP_VERSION}
ENV NEXT_PUBLIC_APP_VERSION=${APP_VERSION}
RUN apk add --no-cache libc6-compat openssl
COPY package.json package-lock.json ./
COPY prisma ./prisma
RUN npm ci --include=dev
COPY . .
RUN npm run build
RUN chown -R node:node /app
USER node
EXPOSE 3000
CMD ["sh", "scripts/docker-entrypoint.sh"]