How to RUN a NodeJS application in Docker
Dockerfile FROM node:14-alpine3.15 WORKDIR /app RUN chown -R node /app USER root COPY package.json . RUN npm install COPY . . EXPOSE 8080 CMD [ "node", "server.js" ] Server.js const…
Dockerfile FROM node:14-alpine3.15 WORKDIR /app RUN chown -R node /app USER root COPY package.json . RUN npm install COPY . . EXPOSE 8080 CMD [ "node", "server.js" ] Server.js const…
aws cognito-idp admin-set-user-password \ --user-pool-id us-east-1_xxx \ --username [email protected] \ --password "zzzzzzz" \ --permanent
NGINX is a popular web server software that can be used to serve your web applications. If you've built a Next.js application and you're looking to deploy it on a…
AWS provides a suite of services that are quickly becoming the backbone for many enterprise application architectures. One such service, AWS SQS, is an event-driven architecture that can be used…
{ "Version": "2008-10-17", "Statement": [ { "Sid": "AllowPublicRead", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::{bucket-name}/*" } ] } Sometimes we have to make an Amazon S3…