It pains me but i must add gcc to the docker file now to get it to build properly
This commit is contained in:
parent
a2c7f0a65e
commit
a0dd3335c9
@ -1,7 +1,7 @@
|
|||||||
FROM python:3.6.2-alpine3.6
|
FROM python:3.6.2-alpine3.6
|
||||||
ADD app/requirements.txt /requirements.txt
|
ADD app/requirements.txt /requirements.txt
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk add --no-cache docker && \
|
apk add --no-cache docker build-base && \
|
||||||
pip install -U pip && \
|
pip install -U pip && \
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
ADD app /app
|
ADD app /app
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM python:3.6.2-alpine3.6
|
FROM python:3.6.2-alpine3.6
|
||||||
ADD app/requirements.txt /requirements.txt
|
ADD app/requirements.txt /requirements.txt
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk add --no-cache vim docker && \
|
apk add --no-cache vim docker build-base && \
|
||||||
pip install -U pip && \
|
pip install -U pip && \
|
||||||
pip install pylint && \
|
pip install pylint && \
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
@ -75,5 +75,5 @@ def get_weather(message):
|
|||||||
ind += 1
|
ind += 1
|
||||||
|
|
||||||
return forecast_str
|
return forecast_str
|
||||||
except exceptions.not_found_error.NotFoundError:
|
except Exception:
|
||||||
return 'Please input a valid location'
|
return 'Please input a valid location'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user