Skip to content

Instantly share code, notes, and snippets.

View pwalters04's full-sized avatar

Paris N Walters pwalters04

  • Atlanta, GA
View GitHub Profile
@pwalters04
pwalters04 / Dockerfile
Created August 4, 2019 18:19
codehouse
FROM node:10 as react-build
WORKDIR /Users/pwalters/VMWARE/test_React/stickwithIT/post-app
COPY package.json yarn.lock ./
RUN yarn
COPY . ./
RUN yarn build
# Stage 2 - the production environment
FROM nginx:alpine
COPY --from=build-deps /usr/src/app/build /usr/share/nginx/html