Skip to content

Commit

Permalink
Test with run container user as root
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Nov 20, 2023
1 parent 64d519a commit 7065649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ COPY --from=tippecanoe-builder /usr/local/bin/tile-join /usr/local/bin/
RUN useradd --system --uid 900 --home-dir /home/appuser --shell /bin/false appuser \
&& chown -R appuser:appuser /home/appuser

USER appuser
# USER appuser

#CMD ["/bin/bash"]
CMD ["uvicorn", "API.main:app", "--reload", "--host", "0.0.0.0", "--port", "8000", "--no-use-colors", "--proxy-headers"]

0 comments on commit 7065649

Please sign in to comment.