ChoruYt commited on
Commit
c17020c
·
verified ·
1 Parent(s): 94ed0b9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -42,6 +42,9 @@ FROM nginx:1.27-alpine AS runtime
42
  # $PORT (defaults to 80) and serves the SPA with hash-routing fallback.
43
  RUN rm /etc/nginx/conf.d/default.conf
44
 
 
 
 
45
  # Inline nginx config — kept here so the image is reproducible without
46
  # any extra files outside the Docker build context.
47
  RUN printf '%s\n' \
 
42
  # $PORT (defaults to 80) and serves the SPA with hash-routing fallback.
43
  RUN rm /etc/nginx/conf.d/default.conf
44
 
45
+ # Create the templates directory before writing to it
46
+ RUN mkdir -p /etc/nginx/templates
47
+
48
  # Inline nginx config — kept here so the image is reproducible without
49
  # any extra files outside the Docker build context.
50
  RUN printf '%s\n' \