mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-14 12:24:21 +01:00
Dockerized application
This commit is contained in:
parent
6363d5171d
commit
fcc23ffd51
3 changed files with 29 additions and 1 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
FROM node:14
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
|
||||
# RUN npm i -g npm-check-updates
|
||||
# RUN ncu -u
|
||||
RUN npm update
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 4200
|
||||
|
||||
# Start APP
|
||||
# ENTRYPOINT ["npm","start"]
|
||||
CMD npm start
|
||||
Loading…
Add table
Add a link
Reference in a new issue