generated from lucien/api-template
Fixed dockerfiles to add reqiests module with pip
This commit is contained in:
parent
b002d0d730
commit
4491e5180a
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
FROM python:alpine
|
FROM python:alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN pip install requests
|
||||||
CMD ["python", "-u", "main.py"]
|
CMD ["python", "-u", "main.py"]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
FROM python:alpine
|
FROM python:alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN pip install requests
|
||||||
CMD ["python", "-u", "main.py"]
|
CMD ["python", "-u", "main.py"]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue