No awards yet.


1 Posts
  • Published Question

    Environment Variables (Create-React-App) on App Platform

    I'm running a aspnet core application with an SPA created using creat-react-app. In this application I use some environment variables in the client. The official way to do this with this tool is to prefix the variable...
    Accepted Answer: Hey there! You mentioned you are running this from a Dockerfile. Environment variables are only available as build-args for Dockerfile builds in App Platform. So you should declare them in the Dockerfile as an ARG an...
    1 By juliomhenriquez React DigitalOcean App Platform Docker Building on DigitalOcean