Skip to content

Instantly share code, notes, and snippets.

Avatar
🤹‍♀️

Flavia Bastos FlaviaBastos

🤹‍♀️
View GitHub Profile
@FlaviaBastos
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
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>
<head>
<meta charset="UTF-8">
<title> Test </title>
<style>
body {
background-color: lightcoral;
}
</style>
You can’t perform that action at this time.