简体   繁体   中英

Dockerfile - deploy MEAN to AWS

I have built a mean app and I would like to deploy it on Amazon using EB CLI.

I execute eb create

but it fails with this error:

ERROR: Failed to pull Docker image dockerfile/nodejs:latest: Pulling repository dockerfile/nodejs
time="2015-07-10T17:58:58Z" level="fatal" msg="Error: image dockerfile/nodejs:latest not found" . Check snapshot logs for details.

My dockerfile first line looks like:

FROM dockerfile/nodejs

That is where the error lays but I have no idea what image I should use for AWS. Any suggestion?

This repository dockerfile/nodejs has been deprecated.

You can instead use FROM node:latest instead of FROM dockerfile/nodejs

node is the official repository for nodejs.

Here is the link to the official repo page for node: https://registry.hub.docker.com/_/node/

And here is the open github issue for dockerfile/nodejs not found: https://github.com/dockerfile/nodejs/issues/11

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM