Files
2026-09-13 20:17:19 +01:00

23 lines
325 B
Docker

FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package.json ./
# Install dependencies
RUN npm install
# Copy application files
COPY index.html ./
COPY server.js ./
# Create backups directory
RUN mkdir -p /app/backups
# Expose port
EXPOSE 8000
# Start the server
CMD ["npm", "start"]