Day 67 of 100 Days Of Code

VSCode

Day 67: September 29, Saturday

Today ‘s Progress: Coded my local dev environment on my PC added Docker and tried to compiled a sample application.

Thoughts: Following this Dockerize Vue.js App

Resources used:

FROM node:9.11.1-alpine

# install simple http server for serving static content
RUN npm install -g http-server

# make the 'app' folder the current working directory
WORKDIR /app

# copy both 'package.json' and 'package-lock.json' (if available)
COPY package*.json ./

# install project dependencies
RUN npm install

# copy project files and folders to the current working directory (i.e. 'app' folder)
COPY . .

# build app for production with minification
RUN npm run build

EXPOSE 8080
CMD [ "http-server", "dist" ]

Link(s) to work

  1. Started work on dockerizing my application local development Environment.

Introduction to Vue.js Worked through setting up my local dev Environment

Code is at https://github.com/Johnny2136/myproject.

Written on September 29, 2018