add ddocker file dan beberapa page componen untuk templating

This commit is contained in:
2025-07-09 14:30:47 +07:00
parent 1b80be5fdd
commit ccaf4c9fb3
765 changed files with 14619 additions and 95 deletions

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
FROM node:22.14.0-alpine
LABEL authors="FIRMAN STIM"
# Set working directory
WORKDIR /app/src
# Copy package files first to leverage Docker cache
COPY src/package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code
COPY src/ .
# Set host and port
ENV HOST=0.0.0.0
ENV PORT=3001
# Expose port
EXPOSE 3000
# Start development server
CMD ["npm", "run", "dev"]