-
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.
Merge pull request #181 from keboola/feature/python-sync-actions
Python Sync actions to support UI
- Loading branch information
Showing
115 changed files
with
4,895 additions
and
47 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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM nikolaik/python-nodejs:python3.12-nodejs18 | ||
ENV PYTHONIOENCODING utf-8 | ||
|
||
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 curlconverter | ||
|
||
|
||
RUN pip install flake8 | ||
|
||
RUN pip install -r /code/requirements.txt | ||
|
||
|
||
|
||
WORKDIR /code/ | ||
|
||
|
||
CMD ["python", "-u", "/code/src/component.py"] |
Oops, something went wrong.