Source-FastDownloadServer-D.../Dockerfile

24 lines
702 B
Docker
Raw Permalink Normal View History

2024-09-29 23:22:02 +00:00
# Use the official Apache image as the base
2024-09-29 23:27:06 +00:00
FROM httpd
2024-09-29 23:22:02 +00:00
# Install required packages
RUN apt-get update && \
apt-get install -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Create the FastDL directory structure
RUN mkdir -p \
/usr/local/apache2/htdocs/source/tf/maps \
/usr/local/apache2/htdocs/source/tf/materials \
/usr/local/apache2/htdocs/source/tf/models \
/usr/local/apache2/htdocs/source/tf/resource \
/usr/local/apache2/htdocs/source/tf/particles \
/usr/local/apache2/htdocs/source/tf/sound
# Copy any initial files into the FastDL directory (optional)
# COPY ./initial-source-content /usr/local/apache2/htdocs/source/
# Expose port 80
EXPOSE 80