mirror of
https://github.com/sissbruecker/linkding.git
synced 2025-08-07 18:58:30 +02:00
Change Docker base image to slim-buster
This commit is contained in:
@@ -9,7 +9,7 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.9-slim AS python-base
|
FROM python:3.9.6-slim-buster AS python-base
|
||||||
RUN apt-get update && apt-get -y install build-essential
|
RUN apt-get update && apt-get -y install build-essential
|
||||||
WORKDIR /etc/linkding
|
WORKDIR /etc/linkding
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ RUN mkdir /opt/venv && \
|
|||||||
/opt/venv/bin/pip install -Ur requirements.txt
|
/opt/venv/bin/pip install -Ur requirements.txt
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.9-slim as final
|
FROM python:3.9.6-slim-buster as final
|
||||||
RUN apt-get update && apt-get -y install mime-support
|
RUN apt-get update && apt-get -y install mime-support
|
||||||
WORKDIR /etc/linkding
|
WORKDIR /etc/linkding
|
||||||
# copy prod dependencies
|
# copy prod dependencies
|
||||||
|
Reference in New Issue
Block a user