added web export and docker files
This commit is contained in:
1 parent
fc18e56b3f
commit
2d2bed4ace
4 files changed
+87
No files matched your search
@@ -0,0 +1,20 @@
|
||||
FROM barichello/godot-ci:4.6.2 AS builder
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
|
||||
RUN mkdir -p /build
|
||||
|
||||
RUN godot --headless --verbose --export-release "Web" "/build/index.html"
|
||||
|
||||
|
||||
FROM nginx:1.30.0
|
||||
|
||||
COPY docker/nginx.conf /etc/nginx/default.conf
|
||||
|
||||
COPY --from=builder /build /usr/share/nginx/html
|
||||
|
||||
Reference in new issue
Block a user