Skip to content
Closed
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
Create Dockerfile
  • Loading branch information
Rushikesh812 authored Oct 11, 2024
commit 2d3b421c3d57cf91ab775643fc3e34e0925128f6
15 changes: 15 additions & 0 deletions 053-touch slider/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#e the official NGINX image as the base image
FROM nginx:alpine

# Set the working directory to /usr/share/nginx/html
WORKDIR /usr/share/nginx/html

# Copy the current directory contents into the container
COPY . .


# Expose the port defined by the PORT environment variable
EXPOSE 8080

# Start NGINX
CMD ["nginx", "-g", "daemon off;"]