Skip to content

Commit

Permalink
Merge branch 'master' into refactor_iter1
Browse files Browse the repository at this point in the history
  • Loading branch information
anchal00 committed Aug 21, 2024
2 parents 6f11259 + 7026554 commit 06c9893
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
9 changes: 1 addition & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Use a base image with Python
FROM python:3.9
FROM python:3.9-slim

# Set the working directory inside the container
WORKDIR /app

# Copy the requirements file
COPY requirements.txt .

# Install the required Python packages
RUN pip install -r requirements.txt

# Copy the rest of the application code
COPY . .

# Install the current package
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
2. Run `pip install . `


##### How to run ?
#### How to run ?

```
usage: Optimus [-h] [-r] [-p PORT] [-t THREADS]
Expand All @@ -25,13 +25,13 @@ You may not be able to run Optimus on Port 53 as your OS already is likely to be

To workaround this, you may

1. Either, disable your exiting resolver and run Optimus on port 53 which might also require [root privileges](#Running Optimus with Root privileges).
2. Or, Simply run the Optimus server on some other port.
1. Either, disable your existing resolver and run Optimus on port 53 (which might also require root privileges)[1].
2. Or, Simply run the Optimus server on another port.


##### Running Optimus with Root privileges:
#### [1] Running Optimus with Root privileges:

There could be better ways to do this but this is the only makeshift solution that I have at this moment)
(There might be better ways to do this, but this is the temporary solution available at the moment)

Once the existing resolver is disabled and Port 53 is freed up

Expand Down

0 comments on commit 06c9893

Please sign in to comment.