Skip to content

Commit

Permalink
Add balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
RetGal committed Oct 4, 2024
1 parent 1169d91 commit 4a66ecc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ ENV BALANCER_CONFIG "/opt/data/config"
# create a volume for the app
VOLUME /opt/data

COPY requirements.txt ./
COPY balancer.py requirements.txt ./
RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt

COPY balancer.py ./

CMD python ./balancer.py ${BALANCER_CONFIG} -nolog

0 comments on commit 4a66ecc

Please sign in to comment.