Skip to content

Commit

Permalink
Docker compose demo set-up
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmrad committed Apr 11, 2024
1 parent c3677d7 commit 1103cc6
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 244 deletions.
8 changes: 1 addition & 7 deletions hasher-matcher-actioner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,4 @@ COPY ./src /build
# You will probably use your own rather than copying one of the examples
# Be careful using the development config with gunicorn due to strange
# interactions with apscheduler and forking.
COPY reference_omm_configs/development_omm_config.py ./omm_config.py

EXPOSE 8080
# Here, we use gunicorn as the "production" deployment.
# Since we are using the development config, by default above, we restrict to one
# worker. If you are using proper worker roles, you'll use more.
CMD ["gunicorn", "-w1", "--bind", "0.0.0.0:8080", "OpenMediaMatch.app:create_app()"]
COPY reference_omm_configs/ ./reference_omm_configs

0 comments on commit 1103cc6

Please sign in to comment.