PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Issue Deploying Wave to DigitalOcean

Solved
keegenk

Apr 11th, 2023 06:14 PM

I'm having issues deploying my Wave app to digital ocean. I've followed the instructions but getting a build error.

› using dockerfile /.app_platform_workspace/Dockerfile [2023-04-12 01:04:14] │ › using build context /.app_platform_workspace// [2023-04-12 01:04:14] │ [2023-04-12 01:04:15] │ INFO[0000] Using dockerignore file: /.app_platform_workspace/.dockerignore [2023-04-12 01:04:15] │ INFO[0000] Retrieving image manifest haakco/stage3-ubuntu-20.04-php7.4-lv [2023-04-12 01:04:15] │ INFO[0000] Retrieving image haakco/stage3-ubuntu-20.04-php7.4-lv from registry mirror [2023-04-12 01:04:15] │ WARN[0001] Failed to retrieve image haakco/stage3-ubuntu-20.04-php7.4-lv from registry mirror GET MANIFEST_UNKNOWN: manifest unknown; map[Tag:latest]. Will try with the next mirror, or fallback to the default registry. [2023-04-12 01:04:15] │ INFO[0001] Retrieving image haakco/stage3-ubuntu-20.04-php7.4-lv from registry index.docker.io [2023-04-12 01:04:16] │ ERRO[0002] Error while retrieving image from cache: haakco/stage3-ubuntu-20.04-php7.4-lv GET https://index.docker.io/v2/haakco/stage3-ubuntu-20.04-php7.4-lv/manifests/latest: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:haakco/stage3-ubuntu-20.04-php7.4-lv Type:repository]] [2023-04-12 01:04:16] │ INFO[0002] Retrieving image manifest haakco/stage3-ubuntu-20.04-php7.4-lv [2023-04-12 01:04:16] │ INFO[0002] Retrieving image haakco/stage3-ubuntu-20.04-php7.4-lv from registry mirror [2023-04-12 01:04:17] │ WARN[0002] Failed to retrieve image haakco/stage3-ubuntu-20.04-php7.4-lv from registry mirror GET MANIFEST_UNKNOWN: manifest unknown; map[Tag:latest]. Will try with the next mirror, or fallback to the default registry. [2023-04-12 01:04:17] │ INFO[0002] Retrieving image haakco/stage3-ubuntu-20.04-php7.4-lv from registry index.docker.io [2023-04-12 01:04:18] │ error building image: GET https://index.docker.io/v2/haakco/stage3-ubuntu-20.04-php7.4-lv/manifests/latest: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:haakco/stage3-ubuntu-20.04-php7.4-lv Type:repository]] [2023-04-12 01:04:18] │ [2023-04-12 01:04:18] │ command exited with code 1 [2023-04-12 01:04:18] │ [2023-04-12 01:04:18] │ ✘ build failed

bobbyiliev

Apr 12th, 2023 01:11 AM

Best Answer

Hi there,

As far as I can see you are trying to use the Dockerfile to deploy Wave, you should just use the native PHP build pack instead:

PHP Buildpack on App Platform

So what you can do is:

  • Clone the Wave repository so that you have it under your own GitHub account
  • Then update the github repo information in the yaml files inside the .do directory:

deploy.template.yaml

app.yaml

  • Then update the deploy button in the README.md file to point to your GitHub repo:

README.md deploy button

Then after that just click the button and all of the configuration will be done automatically for you.

You will just need to update the Plan so that you choose your resources and number of containers. Starting with 1 is usually ok!

Let me know how it goes.