latest version

This commit is contained in:
Honey committed 2026-02-13 11:24:43 +01:00
1 parent 907c293a68
commit fa169b880c
5 files changed
+808 -500

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install --production
# Copy application files
COPY public ./public
COPY server ./server
# Create directory for SQLite database
RUN mkdir -p /app/data
# Expose port
EXPOSE 3000
# Set environment variable for database location
ENV DATABASE_PATH=/app/data/tasks.db
# Start the application
CMD ["node", "server/server.js"]