Skip to content

Commit

Permalink
Expose port 8080 in Dockerfile
Browse files Browse the repository at this point in the history
Add EXPOSE directive in the Dockerfile to allow the container to handle requests on port 8080. This change supports the functionality of the web server running inside the container.
  • Loading branch information
jcardozo committed Sep 16, 2024
1 parent 215c3be commit ddcd4bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ ENV PATH="${PATH}:/nix/var/nix/profiles/default/bin"
CMD [ "/bin/systemd" ]

# Install Devbox using Nix
RUN nix profile install nixpkgs#devbox
RUN nix profile install nixpkgs#devbox

# Expose port 8080 to handle requests to web server
EXPOSE 8080

0 comments on commit ddcd4bf

Please sign in to comment.