Add Dockerfile
This commit is contained in:
parent
58f203e71a
commit
370cd910a5
|
@ -0,0 +1,4 @@
|
|||
node_modules
|
||||
*.log
|
||||
.git
|
||||
dist
|
|
@ -0,0 +1,12 @@
|
|||
FROM alpine:3.10.2
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add --update --no-cache nodejs npm
|
||||
|
||||
COPY . /app/
|
||||
RUN npm install
|
||||
|
||||
RUN npm run build
|
||||
|
||||
CMD ["npm", "run", "serve"]
|
Loading…
Reference in New Issue