marcklingen commited on
Commit
c222057
1 Parent(s): b360b37

Remove manual CSP header modification in Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -11
Dockerfile CHANGED
@@ -10,17 +10,6 @@ RUN apk update && apk add --no-cache \
10
  iproute2 \
11
  sed
12
 
13
- # Modify the CSP headers in next.config.mjs to remove frame-ancestors restriction
14
- # RUN sed -i "/frame-ancestors 'none';/d" next.config.mjs
15
- # Print CSP headers before modification
16
- RUN echo "Before modification:" && grep -A 15 "cspHeader" next.config.mjs
17
-
18
- # Modify the CSP headers in next.config.mjs to remove frame-ancestors restriction
19
- RUN sed -i "/frame-ancestors 'none';/d" next.config.mjs
20
-
21
- # Print CSP headers after modification
22
- RUN echo "After modification:" && grep -A 15 "cspHeader" next.config.mjs
23
-
24
  # Copy and set up the wrapper script
25
  COPY docker-entrypoint-wrapper.sh /docker-entrypoint-wrapper.sh
26
  RUN chmod +x /docker-entrypoint-wrapper.sh
 
10
  iproute2 \
11
  sed
12
 
 
 
 
 
 
 
 
 
 
 
 
13
  # Copy and set up the wrapper script
14
  COPY docker-entrypoint-wrapper.sh /docker-entrypoint-wrapper.sh
15
  RUN chmod +x /docker-entrypoint-wrapper.sh