Skip to content
Snippets Groups Projects

Remove legacy nginx code

Merged Maximilian Pickl requested to merge sphnc-remove-legacy into main
4 files
+ 0
14
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 0
5
@@ -12,8 +12,6 @@
#
FROM registry.dcc.sib.swiss/sphn-semantic-framework/sphn-connector/nginx:1.25-alpine-unprivileged
USER root
RUN addgroup sphn_proxy && adduser -u 1000 -D sphn_proxy -G sphn_proxy
RUN apk update && apk add --no-cache curl==8.5.0-r0 libcrypto3 libcurl==8.5.0-r0 curl=8.5.0-r0 libssl3 libexpat=2.6.2-r0 libxml2
@@ -28,8 +26,5 @@ RUN chmod -R 755 /usr/share/nginx/html /var/run/ /var/log/ /var/cache/ /etc/ngin
# Switch to the non-root user
USER sphn_proxy
# Expose the port on which Nginx will listen
EXPOSE 80
# Command to start Nginx
CMD ["nginx", "-g", "daemon off;"]
\ No newline at end of file
Loading