Created
April 25, 2023 11:04
-
-
Save eckelon/45b743b6ca6cb6856104878293874645 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use an existing image as a base | |
FROM debian:buster-slim | |
# Set the working directory | |
WORKDIR /app | |
# Copy the application files to the container | |
COPY . . | |
# Install required dependencies | |
RUN apt-get update && \ | |
apt-get install -y nginx | |
# Tell Docker what port to expose | |
EXPOSE 80 | |
# Start the service when the container starts | |
CMD ["nginx", "-g", "daemon off;"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment