mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2026-01-27 10:34:41 -05:00
🗃️ Committing everything that changed 🗃️
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
This commit is contained in:
20
Dockerfile.ubuntu
Normal file
20
Dockerfile.ubuntu
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user