projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 10981: update alerts collections in Mongo from OSM v12 to v14
[osm/devops.git]
/
docker
/
Webhook
/
Dockerfile
diff --git
a/docker/Webhook/Dockerfile
b/docker/Webhook/Dockerfile
index
1205fbc
..
73e1bd0
100644
(file)
--- a/
docker/Webhook/Dockerfile
+++ b/
docker/Webhook/Dockerfile
@@
-58,6
+58,7
@@
RUN rm -f /etc/apt/apt.conf.d/proxy.conf
COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
COPY --from=INSTALL /usr/local/lib/python3.8/dist-packages /usr/local/lib/python3.8/dist-packages
COPY --from=INSTALL /usr/lib/python3/dist-packages /usr/lib/python3/dist-packages
COPY --from=INSTALL /usr/local/lib/python3.8/dist-packages /usr/local/lib/python3.8/dist-packages
+COPY --from=INSTALL /usr/local/bin/uvicorn /usr/local/bin/uvicorn
# Creating the user for the app
RUN groupadd -g 1000 appuser && \
# Creating the user for the app
RUN groupadd -g 1000 appuser && \
@@
-72,6
+73,6
@@
USER appuser
EXPOSE 9998
EXPOSE 9998
-CMD ["uvicorn", "osm_webhook_translator.
app.
main:app", "--host", "0.0.0.0", "--port", "80"]
+CMD ["uvicorn", "osm_webhook_translator.main:app", "--host", "0.0.0.0", "--port", "80"]