Skip to content
Snippets Groups Projects
Commit 9f776cff authored by Hamza Touizrat's avatar Hamza Touizrat
Browse files

Merge branch 'add_docker' into 'master'

Add docker

See merge request !79
parents e1026713 ddefd8df
Branches
No related tags found
1 merge request!79Add docker
FROM node:10 FROM node:10
WORKDIR /var/www/oser-frontend
COPY package.json . COPY package.json .
COPY package-lock.json . COPY package-lock.json .
RUN npm install RUN npm install
COPY . . COPY . .
EXPOSE 4200 EXPOSE 4200
CMD "npm run build" RUN npm run build
ENTRYPOINT ["npm", "run", "start"] ENTRYPOINT ["npm", "run", "start"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment