Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


This is a Node.js application using Fastify, packaged in a Docker container.

Prerequisites

  • Docker installed on your machine

Building the Docker Image

To build the Docker image, run the following command in the directory containing the Dockerfile:

sudo docker build -t more-complicated-app:alpine .

Running the Docker Container

sudo docker run -it -p 8080:8080 --name my-app --rm --init more-complicated-app:alpine

This command will:

  • Run the container interactively (-it)
  • Map port 8080 on your host to port 8080 in the container (-p 8080:8080)
  • Name the container my-app (--name my-app)
  • Remove the container when it exits (--rm)
  • Use the tini init system to handle reaping zombie processes (--init)

Accessing the Application

http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages