You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
RPi: fix alpine version for setup, only one layer for pip install
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
ARG DISTRO=alpine:3.8
|
ARG DISTRO=alpine:3.10
|
||||||
FROM $DISTRO
|
FROM $DISTRO
|
||||||
|
|
||||||
RUN mkdir -p /app
|
RUN mkdir -p /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN apk add --no-cache curl python3 py3-pip
|
RUN apk add --no-cache curl python3 py3-pip \
|
||||||
RUN pip3 install -r requirements.txt
|
&& pip3 install -r requirements.txt
|
||||||
|
|
||||||
COPY server.py ./server.py
|
COPY server.py ./server.py
|
||||||
COPY main.py ./main.py
|
COPY main.py ./main.py
|
||||||
|
Reference in New Issue
Block a user