This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build with: docker build -f Dockerfile -t image_name . | |
# run with: docker run -it --name container_name image_name /bin/bash | |
# run exposing ports and sharing volume: | |
# docker run -it --name container_name -p 8000:8000 --mount type=bind,src=/your/path/to/local/source/code,dst=/src image_name /bin/bash | |
FROM debian | |
RUN apt-get update | |
ENV DEBIAN_FRONTEND noninteractive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"></html> | |
<head> | |
<meta charset="UTF-8"> | |
<title> Test </title> | |
<style> | |
body { | |
background-color: lightcoral; | |
} | |
</style> |