mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
RPi: fix alpine version for setup, only one layer for pip install
This commit is contained in:
parent
2c95ed98a4
commit
98307f868a
@ -1,12 +1,12 @@
|
||||
ARG DISTRO=alpine:3.8
|
||||
ARG DISTRO=alpine:3.10
|
||||
FROM $DISTRO
|
||||
|
||||
RUN mkdir -p /app
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN apk add --no-cache curl python3 py3-pip
|
||||
RUN pip3 install -r requirements.txt
|
||||
RUN apk add --no-cache curl python3 py3-pip \
|
||||
&& pip3 install -r requirements.txt
|
||||
|
||||
COPY server.py ./server.py
|
||||
COPY main.py ./main.py
|
||||
|
Loading…
Reference in New Issue
Block a user