giftgo / Dockerfile
Alexainc
Initial commit with premium UI and GiftGo mechanics
7b55b01
Raw
History Blame Contribute Delete
311 Bytes
FROM node:20-slim
# Install build tools for better-sqlite3
RUN apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
# Create db directory
RUN mkdir -p /app/data
EXPOSE 7860
CMD ["node", "server.js"]