Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 authored May 16, 2024
1 parent 1f8d8ac commit c7bbde1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ RUN npm run build
# Create directory for SSL certificate and key
RUN mkdir -p /app/ssl

# Install Certbot
RUN apk add --no-cache certbot

# Copy Nginx configuration
COPY nginx.conf /etc/nginx/nginx.conf

# Expose HTTP and HTTPS port
EXPOSE 80
EXPOSE 443

CMD ["/usr/local/searxng/dockerfiles/docker-entrypoint.sh -f & touch /etc/searxng/limiter.toml & npm start -- --host"]
CMD ["/usr/local/searxng/dockerfiles/docker-entrypoint.sh -f & touch /etc/searxng/limiter.toml & npm start -- --host"]

0 comments on commit c7bbde1

Please sign in to comment.