Skip to content

Commit

Permalink
fix requeriment & dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fjpacheco committed Jun 15, 2024
1 parent f4d85af commit 9fac96a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY src src
COPY ./src .

CMD ["python", "src/main.py"]
COPY .env .env

CMD ["python", "main.py", "run-simulator"]


# docker build -t simulator . && docker run simulator && docker rmi simulator
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
pika
requests
python-dotenv
paho-mqtt
paho-mqtt
cachetools==3.1.
typer[all]

0 comments on commit 9fac96a

Please sign in to comment.