mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2025-09-18 09:57:47 -04:00
Dockerfile Dockerfile.cherokee Dockerfile.final Dockerfile.nossl Dockerfile.selective Dockerfile.stable Dockerfile.ubuntu Dockerfile.zevenet .dockerignore .gitattributes .gitignore LICENSE.md README.md rootfs/.gitea/ rootfs/root/ rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/pkmgr rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/ rootfs/usr/local/share/template-files/config/.gitkeep rootfs/usr/local/share/template-files/data/.gitkeep
20 lines
524 B
Docker
20 lines
524 B
Docker
# Try to install Cherokee from Ubuntu packages
|
|
FROM ubuntu:20.04
|
|
|
|
# Install Cherokee from packages if available
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
|
cherokee \
|
|
bash \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& apt-get clean
|
|
|
|
# Create directories
|
|
RUN mkdir -p /var/www/html /config /data
|
|
|
|
# Create a simple index page
|
|
RUN echo "<h1>Cherokee Web Server</h1><p>Cherokee is running from Ubuntu packages!</p>" > /var/www/html/index.html
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["cherokee", "-p", "80"] |