First Commit

This commit is contained in:
Honey committed 2026-02-13 01:31:27 +01:00
1 parent e1ba6459a8
commit 0fb58a5f29
6 files changed
+1324

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"]