Fix stuff
This commit is contained in:
14
Dockerfile
14
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"]
|
||||
|
||||
Reference in New Issue
Block a user