This commit is contained in:
ManjaroOne666 2019-02-24 22:07:20 +00:00
parent 8a2c61f638
commit 8dcefcee6d
2 changed files with 23 additions and 0 deletions

12
app/Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM node
ENV APP_ROOT /src
RUN mkdir ${APP_ROOT}
WORKDIR ${APP_ROOT}
ADD . ${APP_ROOT}
RUN npm install
RUN npm run build
# ENV HOST 0.0.0.0

11
docker-compose.yml Normal file
View File

@ -0,0 +1,11 @@
version: "3"
services:
nuxt:
build: ./app/
container_name: marcleopold-website
restart: always
ports:
- "3003:3000"
command:
"npm run start"