-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
||
|