Andy80-Arg commited on
Commit
3a43dda
·
verified ·
1 Parent(s): faf93ff

Update Dockerfile

Browse files

Enabled the "--enable-cors" configuration.

Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -21,4 +21,4 @@ EXPOSE 7860
21
 
22
  # Start Typesense
23
  # Note: We must explicitly tell Typesense where the data-dir is in the command
24
- CMD ["/opt/typesense-server", "--data-dir", "/data", "--api-port", "7860", "--api-key", "your_very_secret_key"]
 
21
 
22
  # Start Typesense
23
  # Note: We must explicitly tell Typesense where the data-dir is in the command
24
+ CMD ["/opt/typesense-server", "--data-dir", "/data", "--api-port", "7860", "--api-key", "your_very_secret_key", "--enable-cors"]