build(npm): update gulp-haxetool
This commit is contained in:
+6
-6
@@ -1,8 +1,8 @@
|
||||
FROM ubuntu:noble AS base
|
||||
FROM ubuntu:resolute AS base
|
||||
RUN apt update && apt install -y \
|
||||
nodejs \
|
||||
npm \
|
||||
openjdk-11-jre \
|
||||
openjdk-17-jre \
|
||||
protobuf-compiler \
|
||||
jq
|
||||
RUN node -v
|
||||
@@ -14,18 +14,18 @@ WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci
|
||||
COPY gulpfile.ts protohx.json ./
|
||||
COPY haxetool.json protohx.json ./
|
||||
COPY config.example.json ./config.example.json
|
||||
RUN --mount=type=secret,id=KEY_STORE \
|
||||
cat /run/secrets/KEY_STORE > ./key.jks
|
||||
RUN --mount=type=secret,id=KEY_PASS \
|
||||
jq --arg key_pass "$(cat /run/secrets/KEY_PASS)" \
|
||||
'.SdkDir = "/sdk" | .PublishDir = "/app/publish" | .Key.store = "key.jks" | .Key.pass = $key_pass' \
|
||||
'.SdkDir = "/sdk" | .Key.store = "key.jks" | .Key.pass = $key_pass' \
|
||||
config.example.json > config.json
|
||||
COPY src ./src
|
||||
COPY dependencies ./dependencies
|
||||
VOLUME ["/sdk", "/app/build", "/app/target", "/app/publish", "/app/src-gen"]
|
||||
CMD ["npx", "gulp", "default"]
|
||||
VOLUME ["/sdk", "/app/build", "/app/target", "/app/src-gen"]
|
||||
CMD ["npm", "run", "build"]
|
||||
|
||||
FROM hello-world AS web
|
||||
ARG PROJECT_NAME
|
||||
|
||||
Reference in New Issue
Block a user