15 lines
345 B
Docker
15 lines
345 B
Docker
FROM node:20-alpine
|
|
|
|
# Install Git during the build phase using apt.
|
|
RUN apt-get update -y && apt-get install -y git && rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set working directory.
|
|
WORKDIR /app
|
|
|
|
# Copy your entrypoint script.
|
|
COPY entrypoint.sh /app/entrypoint.sh
|
|
RUN chmod +x /app/entrypoint.sh
|
|
|
|
# Set the default command.
|
|
CMD ["/app/entrypoint.sh"]
|