docker file service
This commit is contained in:
@@ -5,7 +5,7 @@ RUN python -m venv /opt/venv
|
||||
ENV PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
RUN apk add --no-cache --virtual .build-deps ca-certificates gcc linux-headers \
|
||||
musl-dev jpeg-dev zlib-dev libffi-dev mysql \
|
||||
musl-dev jpeg-dev zlib-dev libffi-dev mysql mariadb-dev \
|
||||
&& pip install --upgrade pip
|
||||
|
||||
COPY ./fet2020/requirements.txt /app/requirements.txt
|
||||
@@ -15,6 +15,7 @@ RUN pip install -r requirements.txt
|
||||
|
||||
FROM tiangolo/uwsgi-nginx:python3.8-alpine
|
||||
|
||||
RUN apk add ghostscript-dev
|
||||
COPY --from=builder /opt/venv /opt/venv
|
||||
|
||||
# Make sure we use the virtualenv:
|
||||
|
||||
Reference in New Issue
Block a user