I know this is only
slightly tangentialto Payload but hoping this group can help. 🙏🏻
As the title says, trying to get payloadcms/template-commerce deployed on AWS Amplify but keep running into an issue where copyfiles isn't found. My mongodb is on Mongo Atlas.
AWS Build Settings
version: 1
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- yarn run build
artifacts:
# IMPORTANT - Please verify your build output directory
baseDirectory: /
files:
- '**/*'
- 'dist/**/*' # Add the 'dist' directory for the server code
- 'build/**/*' # Add the 'build' directory for the built admin panel
cache:
paths:
- node_modules/**/*
AWS ENV Variables (not sure if important)
No help for this one?
Hey
@786038871451762720I think
@967118574445547650can lend a hand here. He's off today but will be back first thing next week! Appreciate your patience.
All good I got it working on AWS app runner
Am into local config now... A properly deployable Dockerfile would be great though... The examples aren't prod ready
Glad you were able to get it to work. We're open to making improvements to our shipped Dockerfiles. What feedback do you have?
hello
@786038871451762720, did you sort out the problem in your amplify, i am having the same issue. Could you help me out on configuring my app.
Let me dig up old repo and config and get back to you
sorry to disturb you, did you manage to find the configs?
hey havent found the repo that had my amplify config but from what I remember it was relatively straightforward after i learned to install copyfiles and other missing packages as part of the preBuild commands
as soon as I typed that i found it 🤣
ymmv as this is very very old -- I gave up and deployed to Payload Cloud
Star
Discord
online
Get dedicated engineering support directly from the Payload team.