feat(calculate-version): 改為計算版本 Docker Action
This commit is contained in:
+3
-5
@@ -1,12 +1,10 @@
|
||||
FROM alpine:latest
|
||||
|
||||
# 安裝必要的工具
|
||||
RUN apk add --no-cache --no-check-certificate bash nodejs npm
|
||||
|
||||
COPY ./app /app
|
||||
RUN cd /app && npm install
|
||||
RUN apk add --no-cache --no-check-certificate bash curl jq
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user