2022-02-04 14:59:33 +10:00
|
|
|
FROM python:3.8-slim
|
2022-01-11 16:07:31 +10:00
|
|
|
|
2022-01-11 18:21:19 +10:00
|
|
|
RUN pip install ofxparse
|
2022-01-11 16:07:31 +10:00
|
|
|
RUN pip install watchdog
|
2022-01-12 20:34:14 +10:00
|
|
|
RUN pip install pymongo
|
2022-01-11 16:07:31 +10:00
|
|
|
|
2022-01-12 20:34:14 +10:00
|
|
|
|
|
|
|
|
RUN useradd --uid 99 --gid 100 -m hsbc
|
2022-01-12 14:56:08 +10:00
|
|
|
USER hsbc
|
|
|
|
|
|
2022-01-12 20:34:14 +10:00
|
|
|
# Creates a non-root user and adds permission to access the /app folder
|
|
|
|
|
# For more info, please refer to https://aka.ms/vscode-docker-python-configure-containers
|
|
|
|
|
#RUN useradd -u 1000 -m ubuntu && chown -R ubuntu /home/ubuntu
|
|
|
|
|
#USER ubuntu
|
|
|
|
|
|
2022-01-12 14:56:08 +10:00
|
|
|
ADD converter.py /app/
|
|
|
|
|
|
2022-01-11 18:21:19 +10:00
|
|
|
CMD [ "python", "./app/converter.py" ]
|