Skip to content

Instantly share code, notes, and snippets.

View andimiya's full-sized avatar

andimiya andimiya

View GitHub Profile

Notes for Dockerizing an Express Server then Hosting on an EC2

Locally...

touch DockerFile

touch .dockerignore

  • node_modules
  • npm-debug.log

Build the Image:

Request SSL Certificates for both www and non-www domains

In S3

  1. Create S3 Bucket for non www URL (ie: Bucket Name crypto-track.com) with Static Site Hosting
  2. Place the front-end built files in this bucket

Keybase proof

I hereby claim:

  • I am andimiya on github.
  • I am andimiya (https://keybase.io/andimiya) on keybase.
  • I have a public key ASDy1PAd2YVOPYT_KiBJgJB3ObLFAYbtMxQ8qfeSDGHEKwo

To claim this, I am signing this object: