mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
remove "pip3 cache purge" that causes error
This commit is contained in:
parent
00cc140acd
commit
d58be56cb9
1 changed files with 5 additions and 4 deletions
|
@ -12,15 +12,16 @@ RUN apk add --no-cache --virtual .build-deps make g++ python3 python3-dev && \
|
|||
|
||||
# Install apprise
|
||||
RUN apk add --no-cache python3 py3-cryptography py3-pip py3-six py3-yaml py3-click py3-markdown py3-requests py3-requests-oauthlib
|
||||
RUN pip3 install apprise && \
|
||||
pip3 cache purge && \
|
||||
RUN pip3 --no-cache-dir install apprise && \
|
||||
rm -rf /root/.cache
|
||||
RUN apprise --version
|
||||
|
||||
# New things add here
|
||||
|
||||
COPY . .
|
||||
RUN npm install && npm run build && npm prune
|
||||
RUN npm install && \
|
||||
npm run build && \
|
||||
npm prune
|
||||
|
||||
EXPOSE 3001
|
||||
VOLUME ["/app/data"]
|
||||
|
|
Loading…
Reference in a new issue