Improve Codespaces port forwarding (#26400)

This commit is contained in:
Christian Schmidt authored and GitHub committed 2023-08-29 10:20:36 +02:00
1 parent 286a21afdc
commit 075cc8e8a6
5 files changed
+93 -18

No files matched your search

-4
View File
@@ -4,10 +4,6 @@ FROM mcr.microsoft.com/devcontainers/ruby:1-3.2-bullseye
# Install Rails
# RUN gem install rails webdrivers
# Default value to allow debug server to serve content over GitHub Codespace's port forwarding service
# The value is a comma-separated list of allowed domains
ENV RAILS_DEVELOPMENT_HOSTS=".githubpreview.dev,.preview.app.github.dev,.app.github.dev"
ARG NODE_VERSION="16"
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"