Fix stuff
This commit is contained in:
parent
26e7972f62
commit
3d845ee702
14
Dockerfile
14
Dockerfile
@ -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"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user