make a docker file based on ubuntu 22.04, install latest nginx, create a sample…
- User
make a docker file based on ubuntu 22.04, install latest nginx, create a sample index.html with a random wiki page
Assistant
Here's an example Dockerfile for installing the latest version of Nginx and creating a sample index.html with a random wiki page:
FROM ubuntu:22.04 RUN apt-get update && apt-get install -y nginx RUN wget https://en.wikipedia.org/wiki/Special:Random -O /var/www/html/index.html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.