I'm trying to run my application in Python inside a container, but I need to install a proxy dependency that I use: Luminati, the problem is that apparently the luminati is not running in the background after I initialize the container.
I tried to run as follows:
docker run -it test_app:latest
When running a ps ax
the application of the luminati is not running!
docker-compose.yml
version: '3'
services:
app:
build: .
volumes:
- .:/shared
networks:
- vnet-front
networks:
vnet-front:
driver: bridge
Dockerfile
FROM python:3.6-alpine AS build-ev
RUN apk add nodejs
RUN apk add npm
RUN npm install -g @luminati-io/luminati-proxy --unsafe-perm
RUN mkdir /app
WORKDIR /app
COPY . /app
RUN luminati --config luminati.json
ENTRYPOINT ["python", "test.py"]