Skip to content

Instantly share code, notes, and snippets.

React + Plotly

# from: https://create-react-app.dev/docs/getting-started
npx create-react-app my-app

cd my-app

# from: https://github.com/plotly/react-plotly.js/#installation
npm install react-plotly.js plotly.js
@Adam-Kaplan
Adam-Kaplan / Dockerfile
Created April 14, 2022 10:43
AWS SAM CLI `local start-api` in docker-compose
# Starting from offical aws-cli container.
FROM amazon/aws-cli:2.5.5
# Adding some unzip tool
RUN yum install -y unzip
# Download fixed version -> unzip -> run install script
RUN curl -L https://github.com/aws/aws-sam-cli/releases/download/v1.46.0/aws-sam-cli-linux-x86_64.zip -o /tmp/aws-sam.zip \
&& unzip /tmp/aws-sam.zip -d /tmp/aws-sam \
&& /tmp/aws-sam/install