Docker Image

This commit is contained in:
Jörn-Michael Miehe 2020-09-05 01:47:48 +02:00
commit 2d081d99f0
2 changed files with 24 additions and 0 deletions

11
docker-compose.yml Normal file
View file

@ -0,0 +1,11 @@
version: "2"
services:
dev:
build: ./docker
restart: "no"
volumes:
- "${PWD}:/srv/vue/lenaisten_bday"
ports:
- 8000:8000
- 8080:8080

13
docker/Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM node:lts-alpine
LABEL maintainer="joern-michael.miehe@lenaisten.de"
WORKDIR /srv/vue
RUN set -ex; \
yarn global add @vue/cli
USER node
VOLUME [ "/home/node" ]
CMD [ "vue", "ui", "-H", "0.0.0.0" ]