Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
alpetric committed Dec 24, 2024
1 parent 4a06426 commit 98b9ba8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion lsp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ RUN pip3 install tornado python-lsp-jsonrpc ruff-lsp

COPY --from=denoland/deno:2.1.2 --chmod=755 /usr/bin/deno /usr/bin/deno

ENV PIPENV_VENV_IN_PROJECT=1

RUN mkdir -p /pyls

WORKDIR /pyls

COPY Pipfile .

RUN cat Pipfile
Expand All @@ -42,7 +48,12 @@ RUN mkdir -p /tmp/monaco && chmod -R 777 /tmp/monaco

RUN cd /tmp/monaco && yarn add -D windmill-client

# Ensure all users have access to the installed packages and configurations
RUN chmod -R a+rX /usr/local && \
chmod -R a+rX /pyls && \
chown -R pn:pn /pyls

EXPOSE 3001

CMD ["python3" ,"pyls_launcher.py"]
CMD ["python3", "pyls_launcher.py"]

0 comments on commit 98b9ba8

Please sign in to comment.