big Performance fix
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m27s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m27s
This commit is contained in:
@@ -58,7 +58,8 @@ COPY --from=minifier /minify/game.min.js ./static/js/game.min.js
|
||||
# Schritt A: Lösche alle Zeilen, die <script src="js/... enthalten
|
||||
# Schritt B: Füge vor dem schließenden </body> Tag das neue Script ein
|
||||
RUN sed -i '/<script src="js\//d' static/index.html \
|
||||
&& sed -i '/<\/body>/i \ <script src="js/game.min.js"></script>' static/index.html
|
||||
&& sed -i '/<\/body>/i \ <script src="js/game.min.js"></script>' static/index.html \
|
||||
&& sed -i '/<\/head>/i \ <script src="assets/pixi.min.js"></script>' static/index.html
|
||||
|
||||
# Port und Start
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in New Issue
Block a user