Skip to content

Docker

Overview

Docker is a container management platform. You can package apps, development environments, etc. into a container image, and then build and run that image anywhere.

Dockerfile

Example

FROM node:18-alpine
WORKDIR /app
COPY . .
CMD ["npm", "start"]
EXPOSE 3000