https://github.com/kostadinlambov/apache-dockerfile
https://github.com/kostadinlambov/apache-dockerfile
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kostadinlambov/apache-dockerfile
- Owner: kostadinlambov
- Created: 2020-06-20T21:08:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-20T23:43:00.000Z (over 5 years ago)
- Last Synced: 2025-04-06T05:32:59.673Z (6 months ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apache-dockerfile
This is a Dockerfile based on Ubuntu 20.04. The Image from this Dockerfile will install Apache Server. The index.html in the current repo will be copied into the Image und set as default page for the Apache Server.
Build an Image with docker from this Dockerfile:
`docker image build -t apache-img .`
Create a container from this Image:
`docker container run -d -p 80:80 --name apache-container apache-img`