Improved Dockerfile

pull/13/head
Daniel Sendzik 4 years ago
parent df6c36cd24
commit 2daca9a352
No known key found for this signature in database
GPG Key ID: E30EDE7329FFE0DF

@ -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…
Cancel
Save