Skip to content

Commit

Permalink
refactored
Browse files Browse the repository at this point in the history
Signed-off-by: munishchouhan <[email protected]>
  • Loading branch information
munishchouhan committed Jan 20, 2025
1 parent 1ef6102 commit 84ad4f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions typespec/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM nginx:alpine
COPY index.html /usr/share/nginx/html/openapi/index.html
COPY tsp-output/@typespec/openapi3/openapi.yaml /usr/share/nginx/html/openapi/openapi.yaml

# Copy the custom Nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Use sed to modify the default Nginx configuration to listen on port 9080
RUN sed -i 's/listen 80;/listen 9080;/' /etc/nginx/conf.d/default.conf

# Expose port 9080
EXPOSE 9080
Expand Down
10 changes: 0 additions & 10 deletions typespec/nginx.conf

This file was deleted.

0 comments on commit 84ad4f4

Please sign in to comment.