generated from Dicken/dickendock
HTTPS im lokalen Netz (Port 8443, selbstsigniertes Zertifikat, optional mkcert)
This commit is contained in:
@@ -24,7 +24,12 @@ RUN pnpm --filter @launchpad/frontend build
|
||||
|
||||
# ---- runtime: nginx --------------------------------------------------------
|
||||
FROM nginx:1.27-alpine AS runtime
|
||||
RUN apk add --no-cache openssl
|
||||
COPY apps/frontend/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY apps/frontend/nginx-locations.conf /etc/nginx/launchpad-locations.conf
|
||||
COPY apps/frontend/docker-entrypoint.sh /docker-entrypoint.sh
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
COPY --from=build /app/apps/frontend/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
EXPOSE 80 443
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user