Jan. 19, 2024, 5:22 p.m. | Raunak Gurud

DEV Community dev.to

This blog post explores the process of dockerization a TypeScript Express app while taking into consideration best practices. It showcases the usage of multistage Docker files to optimize the Dockerization process.


This is not on basic of docker it will deep dive into optimize way to write Dockerfile to improve performance security speed


let's start by building a simple express app using typescript



    mkdir ts-docker
cd ts-docker

# Initialize project
npm init

# Add dependencies
yarn add express

# Add …

app basic best practices blog blog post deep dive devops dive docker dockerfile express files node performance practices process security speed start typescript

Information Security Engineers

@ D. E. Shaw Research | New York City

Technology Security Analyst

@ Halton Region | Oakville, Ontario, Canada

Senior Cyber Security Analyst

@ Valley Water | San Jose, CA

Sr. Security Engineer

@ BedRock Systems | San Francisco, Boston, DC, Berlin, Munich, Bengaluru

Project Manager - Project Principal Consultant

@ SAP | Istanbul, TR, 34700

Software Security Engineer

@ Ledger | Paris, France