Skip to content

Instantly share code, notes, and snippets.

View FlaviaBastos's full-sized avatar
👩‍💻

Flavia Bastos FlaviaBastos

👩‍💻
View GitHub Profile
@FlaviaBastos
FlaviaBastos / template_html_js.html
Last active August 29, 2020 20:33
Sample html with js script tag
<!DOCTYPE html>
<html lang="en"></html>
<head>
<meta charset="UTF-8">
<title> Test </title>
<style>
body {
background-color: lightcoral;
}
</style>
@FlaviaBastos
FlaviaBastos / Dockerfile
Created October 10, 2020 20:49
Sample Dockerfile for a image with Node.js installed
# 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