Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkxuyang committed Jan 10, 2025
1 parent d5b151a commit 651581f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/azure-cc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ RUN tar xzvf /app/static.tar.gz --no-same-owner --no-same-permissions && \

COPY ./azureEntryPoint.py /app
COPY ./confidential_compute.py /app
RUN chmod a+x /app/azureEntryPoint.py
RUN chmod a+x /app/confidential_compute.py
RUN chmod a+x /app/*.py

# Create and configure non-root user
RUN adduser -D uid2-operator && \
Expand All @@ -51,8 +50,6 @@ RUN adduser -D uid2-operator && \

# Switch to non-root user
USER uid2-operator

RUN echo "Start azureEntryPoint.py"

# Run the Python entry point
CMD ["python3", "/app/azureEntryPoint.py"]

0 comments on commit 651581f

Please sign in to comment.