18 lines
444 B
Docker
18 lines
444 B
Docker
FROM python:3.8
|
|
|
|
RUN pip install ofxparse
|
|
RUN pip install watchdog
|
|
RUN pip install pymongo
|
|
|
|
|
|
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" ] |