start script to keep default public folder
All checks were successful
build docker container automatically / build (push) Successful in 3m30s

This commit is contained in:
2026-04-20 14:46:37 +02:00
parent 68b87ef6f6
commit 56c3e0fb78
2 changed files with 4 additions and 1 deletions

View File

@ -16,9 +16,10 @@ COPY . .
RUN dx build -r
RUN cp /build/target/dx/httpserver/release/web /app -r
RUN cp /build/docker_start.sh /app
WORKDIR /app
RUN rm -rf /build
ENV IP="0.0.0.0"
CMD ["./server"]
CMD ["/bin/sh", "docker_start.sh"]

2
docker_start.sh Normal file
View File

@ -0,0 +1,2 @@
cp -r other_public/* public/
./server