Improved Dockerfile

main
Daniel Sendzik 2020-05-10 14:00:22 +02:00
parent df6c36cd24
commit 2daca9a352
No known key found for this signature in database
GPG Key ID: E30EDE7329FFE0DF
1 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,13 @@
FROM python:3 FROM python:3.8
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY . .
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x ./whoogle-search RUN chmod +x ./whoogle-search
EXPOSE 5000
CMD ["./whoogle-search"] CMD ["./whoogle-search"]