diff --git a/Dockerfile b/Dockerfile index 0128ac1..aef362c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,18 @@ -FROM node:20-alpine +FROM node:20-slim WORKDIR /app -COPY package.json package-lock.json ./ + +# Copy package files +COPY package*.json ./ + +# Install dependencies RUN npm install +# Copy application files COPY . . + +# Make start.sh executable RUN chmod +x start.sh -CMD ["./start.sh"] +# Set the entrypoint +ENTRYPOINT ["./start.sh"]