Improved Dockerfile
parent
df6c36cd24
commit
2daca9a352
|
@ -1,9 +1,13 @@
|
|||
FROM python:3
|
||||
FROM python:3.8
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
RUN chmod +x ./whoogle-search
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["./whoogle-search"]
|
||||
|
|
Loading…
Reference in New Issue