21 lines
284 B
Docker
21 lines
284 B
Docker
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
|
|
|