build(docker): add docker web image build

This commit is contained in:
2026-04-10 14:00:08 +03:00
parent c95bb70369
commit a2e9d16be9
4 changed files with 65 additions and 1 deletions

View File

@@ -26,3 +26,10 @@ COPY src ./src
#COPY dependencies ./dependencies
VOLUME ["/sdk", "/app/build", "/app/target", "/app/publish", "/app/src-gen"]
CMD ["npx", "gulp", "default"]
FROM hello-world AS web
ARG PROJECT_NAME
VOLUME ["/app/${PROJECT_NAME}"]
COPY ./target/client/html5 /app/${PROJECT_NAME}/html5
COPY ./target/client/flash /app/${PROJECT_NAME}/flash
CMD ["/hello"]