Move file

This commit is contained in:
MinCheTsai 2022-10-13 21:04:55 +08:00
parent 73aa7bfef0
commit fc5bbc26a4
2 changed files with 1 additions and 2 deletions

View File

@ -72,7 +72,6 @@ services:
- AWS_CONTAINER_CREDENTIALS_FULL_URI
- AWS_IOT_THING_NAME
volumes:
- ../forwarder:/forwarder
- /greengrass/v2:/greengrass/v2
volumes:

View File

@ -6,7 +6,7 @@ RUN pip install -r ./requirements.txt
# COPY app.py ./
CMD ["python", "/forwarder/app.py"]
CMD ["python", "app.py"]
RUN adduser --system forwarder
USER forwarder