diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..779caad --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM node:8-alpine + +# Create app directory +WORKDIR /usr/src/app + +# Copy app source +COPY . ./ + +# Install app dependencies +RUN npm install +# If you are building your code for production +# RUN npm ci --only=production + +EXPOSE 3000 +CMD [ "npm", "start" ] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..2820317 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +version: '3' +services: + dgstudio: + build: . + #image: "dgstudio:alpine" + ports: + - "3000:3000" + volumes: + - .:/usr/src/app/