Fix stuff

This commit is contained in:
Knight 2024-12-28 11:05:49 -05:00
parent 26e7972f62
commit 3d845ee702

View File

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