ci: build Godot web export inside Dockerfile to avoid dind workspace mount issue
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
FROM barichello/godot-ci:4.2.2 AS build
|
||||
WORKDIR /project
|
||||
COPY . .
|
||||
RUN godot --headless --path /project --export-release "Web" build/web/index.html
|
||||
|
||||
FROM nginx:1.27-alpine
|
||||
|
||||
COPY build/web/ /usr/share/nginx/html/
|
||||
|
||||
COPY --from=build /project/build/web/ /usr/share/nginx/html/
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user