Skip to content

Commit 4f2dcaf

Browse files
committed
chore(worker): Cleanup unused Node.js configuration
1 parent 10031be commit 4f2dcaf

File tree

4 files changed

+1
-9506
lines changed

4 files changed

+1
-9506
lines changed

services/datalad/.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

services/datalad/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ COPY datalad_service /srv/datalad_service
1212
COPY get_docker_scale.py /get_docker_scale.py
1313
COPY ./ssh_config /root/.ssh/config
1414
COPY tests /srv/tests
15-
# Install node and Deno the Dockery-but-hacky-way
16-
COPY --from=node:20.12.2-bullseye /usr/local/bin/node /usr/local/bin/node
15+
# Install Deno the Dockery-but-hacky-way
1716
COPY --from=deno /deno /usr/local/bin/deno
1817

1918
RUN apt-get update \
20-
&& node --version \
2119
&& apt-get install -y curl openssh-client \
2220
&& ssh-keyscan github.com >> /root/.ssh/known_hosts \
2321
&& mkdir /yarn \
@@ -36,6 +34,5 @@ RUN apt-get update \
3634

3735
HEALTHCHECK --interval=5s --timeout=30s --start-period=10s --retries=10 CMD [ "curl", "-f", "http://localhost/heartbeat" ]
3836

39-
ENV NODE_OPTIONS="--max-old-space-size=8192"
4037
ENV LOCPATH=""
4138
CMD ["uvicorn", "--host", "0.0.0.0", "--port", "80", "--factory", "datalad_service.app:create_app", "--workers", "8", "--timeout-keep-alive", "30"]

services/datalad/package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)