mirror of
https://github.com/hongguang1994/SimNexus.git
synced 2026-11-23 13:58:05 +08:00
支持多 USB 4G 模块管理、实时信号监控、短信收发及定时自动发送任务。 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
228 B
Docker
12 lines
228 B
Docker
FROM node:20-alpine AS build
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN npm run build
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=build /app/dist /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80
|