Update Dockerfile

added "rm /usr/bin/python" because bin already exists and Docker build fail withour removing ut first.
This commit is contained in:
tormodhope authored and GitHub committed 2023-02-10 16:20:48 +01:00
1 parent 5dbbe80a98
commit 855167c166
1 file changed
+1
+1
View File
@@ -7,6 +7,7 @@ WORKDIR /usr/src/infoscreen
# Install app dependencies
COPY package*.json ./
RUN apk add --no-cache --virtual .gyp python3 make g++ \
&& rm /usr/bin/python \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& npm install \
&& apk del .gyp