1
0
mirror of https://github.com/ZeroCatDev/ClassworksKV.git synced 2025-07-02 04:39:23 +00:00
ClassworksKV/Dockerfile

25 lines
383 B
Docker

FROM node:alpine
WORKDIR /app
# Set production environment by default
ENV NODE_ENV=production
COPY . .
# Install dependencies
RUN npm install
# Copy all application files
# Make the management script executable
RUN chmod +x classworks.js
EXPOSE 3000
# Use the management script as entrypoint
ENTRYPOINT ["node", "classworks.js"]
# Default command (can be overridden)
CMD []