-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Aratz M. Lasa
committed
Jun 18, 2020
1 parent
26d4cf3
commit 909e721
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
FROM python:3.8 | ||
|
||
WORKDIR /usr/src/toad_influx_query | ||
WORKDIR /app | ||
|
||
COPY requirements.txt ./ | ||
RUN pip install --no-cache-dir -r requirements.txt | ||
|
||
COPY ./toad_influx_query ./toad_influx_query | ||
COPY ./run_server.sh ./run_server.sh | ||
COPY ./run.sh ./run.sh | ||
|
||
EXPOSE 80:8080 | ||
RUN mkdir ./config | ||
VOLUME ./config | ||
|
||
CMD [ "./run_server.sh" ] | ||
CMD ["./run.sh"] | ||
|
||
# docker run --network=iotoad_network -v $(pwd)/config:/app/config toad_influx_query |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters