Commit 3ee05698 authored by Khalid Ali's avatar Khalid Ali

Merge branch 'feature/3-add-docker' into 'master'

Feature/3-Add-Docker

Closes #3

See merge request !6
parents 23e9b644 9905f4a1
Pipeline #3707 passed with stages
in 2 minutes and 53 seconds
......@@ -25,4 +25,4 @@ e2e test:
script:
- npm install --progress=false
- npm run pretest
- npm run test:e2e
\ No newline at end of file
- npm run test:e2e
# build stage
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# production stage
FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Markdown is supported
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