Welcome to the Dockerized Golang Web Application example for Tokopedia DevCamp 2023 participants! This repository contains a simple Golang web application that outputs a welcome message. The application is dockerized for easy deployment.
The main components of this repository are:
main.go
: Golang code for a basic web server.Dockerfile
: Dockerfile for building a Docker image for the Golang application.
Before you begin, make sure you have the following installed:
-
Clone this repository:
git clone https://github.com/ghzmhrm/devcamp-backend-2023.git cd devcamp-backend-2023
-
Build the Docker image:
docker build -t dockerized-webapp .
-
Run the Docker container:
docker run -p 8080:8080 dockerized-webapp
-
Open your web browser and navigate to http://localhost:8080. You should see the welcome message.
- Tokopedia DevCamp 2023 organizers
Happy coding!