Merge pull request #13 from Alpha200/improved-dockerfile

Improved Dockerfile
main
Ben Busby 2020-05-10 11:03:11 -06:00 committed by GitHub
commit 90995d79e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"]