Skip to content

Commit

Permalink
Update dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
sstenudd committed Sep 18, 2023
1 parent e1faf9a commit 00838a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile.usb
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM python:3

WORKDIR /build
WORKDIR /build-usb

COPY requirements.txt ./

RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt

EXPOSE 8942

COPY . .

CMD ["python3", "./src/riots-usb.py"]
4 changes: 3 additions & 1 deletion Dockerfile.webthings
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM python:3

WORKDIR /build
WORKDIR /build-wot

COPY requirements.txt ./

RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt

EXPOSE 8942

COPY . .

CMD ["python3", "./src/riots-webthings.py"]

0 comments on commit 00838a3

Please sign in to comment.