chore: add Dockerfile for build fallback

This commit is contained in:
Hermes
2026-05-18 00:06:03 +00:00
parent bd1f284621
commit 67778ab752
+23
View File
@@ -0,0 +1,23 @@
# CloneWeb - Web Interface Dockerfile
FROM node:20-alpine
WORKDIR /app
# Copy package files
COPY web-interface/package*.json ./
# Install dependencies
RUN npm install --production
# Copy application files
COPY web-interface/ .
# Expose port
EXPOSE 3000
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1
# Start server
CMD ["node", "server.js"]