Skip to content

Commit

Permalink
feat: add new libs, bump project version
Browse files Browse the repository at this point in the history
  • Loading branch information
jabibamman committed Jul 24, 2024
1 parent 3ad8ed1 commit 1293f37
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dyno_code"
version = "0.5.0"
version = "1.0.0"
authors = [
"James <jabibamman@gmail.com>",
"Ronan <ronan.kielt.mail@gmail.com>",
Expand Down
8 changes: 1 addition & 7 deletions languages/Dockerfile.nodejs
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
FROM node:20-slim AS builder
RUN apt-get update && apt-get install -y dos2unix gcc g++ make python3 libvips-dev && rm -rf /var/lib/apt/lists/*
RUN npm install -g pnpm
WORKDIR /home/executor/sandbox
RUN pnpm add csv-parser jsonfile

FROM node:20-slim
RUN apt-get update && apt-get install -y dos2unix && rm -rf /var/lib/apt/lists/*
RUN npm install -g pnpm
RUN npm install -g csv-parser jsonfile
RUN npm install -g csv-parser jsonfile canvas pdf-lib html-pdf-node
RUN useradd -m -s /bin/bash executor && mkdir -p /home/executor/sandbox && chown -R executor:executor /home/executor/sandbox
ENV NODE_PATH=/usr/local/lib/node_modules
WORKDIR /usr/src/executor
Expand Down
2 changes: 1 addition & 1 deletion languages/Dockerfile.python
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM python:3.9-slim-buster

RUN apt-get update && apt-get install -y dos2unix && rm -rf /var/lib/apt/lists/*

RUN pip install pandas numpy pillow
RUN pip3 install pandas numpy pillow pyyaml html2text

RUN useradd -m -s /bin/bash executor && mkdir -p /home/executor/sandbox && chown -R executor:executor /home/executor/sandbox

Expand Down

0 comments on commit 1293f37

Please sign in to comment.