Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Use Ubuntu as base image
FROM ubuntu:latest

# Install Apache and other dependencies
RUN apt-get update && apt-get install -y apache2 git

# Set the working directory
WORKDIR /var/www/html

# Install the application dependencies
RUN apt-get install -y curl

# Expose port 80 (Apache default) and 82 (for the website)
EXPOSE 80 82

# Start Apache in the foreground
CMD ["apachectl", "-D", "FOREGROUND"]