Skip to content

Commit c916acf

Browse files
committed
Use static server.
1 parent e27c9d4 commit c916acf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY . .
1212
RUN yarn build
1313

1414
# Create index.html for the SPA
15-
RUN echo '<!DOCTYPE html>\n\
15+
RUN printf '<!DOCTYPE html>\n\
1616
<html lang="en">\n\
1717
<head>\n\
1818
<meta charset="UTF-8">\n\
@@ -26,7 +26,7 @@ RUN echo '<!DOCTYPE html>\n\
2626
<div id="root"></div>\n\
2727
<script type="module" src="/assets/main-_xEiGKjZ.js"></script>\n\
2828
</body>\n\
29-
</html>' > /app/dist/client/index.html
29+
</html>\n' > /app/dist/client/index.html
3030

3131
FROM nginx:alpine
3232

0 commit comments

Comments
 (0)