Save the processed transactions so they don't get processed a second time

This commit is contained in:
2022-01-12 20:34:14 +10:00
parent a4e43522db
commit f694a67b2d
3 changed files with 76 additions and 12 deletions

View File

@@ -2,10 +2,17 @@ FROM python:3.8
RUN pip install ofxparse
RUN pip install watchdog
RUN pip install pymongo
RUN useradd --uid 99 --gid 100 hsbc
RUN useradd --uid 99 --gid 100 -m hsbc
USER hsbc
# 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
ADD converter.py /app/
CMD [ "python", "./app/converter.py" ]