Skip to content

Commit

Permalink
Remove vapor from Dockerfile comments
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Apr 28, 2024
1 parent c1d7baa commit bf92834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ COPY --from=build --chown=hummingbird:hummingbird /staging /app
# Provide configuration needed by the built-in crash reporter and some sensible default behaviors.
ENV SWIFT_BACKTRACE=enable=yes,sanitize=yes,threads=all,images=all,interactive=no,swift-backtrace=./swift-backtrace-static

# Ensure all further commands run as the vapor user
# Ensure all further commands run as the hummingbird user
USER hummingbird:hummingbird

# Let Docker bind to port 8080
EXPOSE 8080

# Start the Vapor service when the image is run, default to listening on 8080 in production environment
# Start the Hummingbird service when the image is run, default to listening on 8080 in production environment
ENTRYPOINT ["./{{HB_EXECUTABLE_NAME}}"]
CMD ["--hostname", "0.0.0.0", "--port", "8080"]

0 comments on commit bf92834

Please sign in to comment.