Skip to content

Commit

Permalink
installing nodejs separately
Browse files Browse the repository at this point in the history
  • Loading branch information
kudj committed Oct 17, 2024
1 parent 8dfaed1 commit e4f1ed4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions python-sync-actions/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
FROM nikolaik/python-nodejs:python3.12-nodejs18
ENV PYTHONIOENCODING utf-8
FROM python:3.12

ENV PYTHONIOENCODING=utf-8

# Install Node.js 18
RUN apt-get update && \
apt-get install -y curl && \
curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
apt-get install -y nodejs

# Install build essentials
RUN apt-get install -y build-essential

# Install curlconverter using npm
RUN npm install --global curlconverter

COPY /src /code/src/
COPY /tests /code/tests/
COPY requirements.txt /code/requirements.txt
COPY flake8.cfg /code/flake8.cfg

# install gcc to be able to build packages - e.g. required by regex, dateparser, also required for pandas
RUN apt-get update && apt-get install -y build-essential curl

# Install curlconverter using npm
RUN npm install --global [email protected]

Expand Down

0 comments on commit e4f1ed4

Please sign in to comment.