19 lines
249 B
Docker
19 lines
249 B
Docker
FROM node:20-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package files
|
|
COPY package*.json ./
|
|
|
|
# Install dependencies
|
|
RUN npm install
|
|
|
|
# Copy application files
|
|
COPY . .
|
|
|
|
# Make start.sh executable
|
|
RUN chmod +x start.sh
|
|
|
|
# Set the entrypoint
|
|
ENTRYPOINT ["./start.sh"]
|