HSBCConverter/Dockerfile

18 lines
444 B
Text
Raw Permalink Normal View History

FROM python:3.8
2022-01-11 18:21:19 +10:00
RUN pip install ofxparse
RUN pip install watchdog
RUN pip install pymongo
RUN useradd --uid 99 --gid 100 -m hsbc
2022-01-12 14:56:08 +10:00
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
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" ]