Commit c471adb8 authored by Mycha de Vrees's avatar Mycha de Vrees
Browse files

dockerfile

parent e0608135
Pipeline #598 passed with stage
in 2 minutes and 3 seconds
FROM node:11-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 . .
EXPOSE 8080
# build app for production with minification
CMD npm run dev
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment