Files
ai-code-review/Dockerfile
T

13 lines
248 B
Docker

FROM alpine:latest
# 安裝必要的工具
RUN apk add --no-cache --no-check-certificate bash git nodejs npm
COPY ./app /app
RUN cd /app && npm install
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]