Updated Readmes; renamed servers to reference servers
This commit is contained in:
28
Docker/reference-servers/pylsp/Dockerfile
Normal file
28
Docker/reference-servers/pylsp/Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
||||
FROM alpine:3.22.1 as build
|
||||
|
||||
ARG VERSION=1.12.0
|
||||
LABEL version="${VERSION}"
|
||||
|
||||
RUN apk add --no-cache \
|
||||
build-base=0.5-r3 \
|
||||
python3=3.12.11-r0 \
|
||||
python3-dev=3.12.11-r0 \
|
||||
py3-pip=25.1.1-r0 \
|
||||
&& python3 -m venv /venv
|
||||
|
||||
WORKDIR /venv
|
||||
|
||||
RUN /venv/bin/pip install "python-lsp-server[all]==${VERSION}"
|
||||
|
||||
|
||||
FROM alpine:3.22.1
|
||||
|
||||
RUN apk add --no-cache python3=3.12.11-r0 py3-pip=25.1.1-r0
|
||||
|
||||
WORKDIR /venv
|
||||
|
||||
COPY --from=build /venv .
|
||||
|
||||
ENV PATH="/venv/bin:$PATH"
|
||||
|
||||
CMD [ "/venv/bin/pylsp" ]
|
||||
Reference in New Issue
Block a user