Skip to content

Instantly share code, notes, and snippets.


Flavia Bastos FlaviaBastos

View GitHub Profile
FlaviaBastos / Dockerfile
Created Oct 10, 2020
Sample Dockerfile for a image with Node.js installed
View Dockerfile
# 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
FlaviaBastos / template_html_js.html
Last active Aug 29, 2020
Sample html with js script tag
View template_html_js.html
<!DOCTYPE html>
<html lang="en"></html>
<meta charset="UTF-8">
<title> Test </title>
body {
background-color: lightcoral;