mirror of
https://github.com/franjsco/umbrello-bot
synced 2025-06-05 21:49:11 +02:00
Add Dockerfile
This commit is contained in:
4
.dockerignore
Normal file
4
.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
||||
node_modules
|
||||
*.log
|
||||
.git
|
||||
dist
|
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -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"]
|
Reference in New Issue
Block a user