first commit

This commit is contained in:
Sthope 2022-02-27 20:14:43 +01:00
parent bac5197e81
commit df01be1d85
2 changed files with 23 additions and 0 deletions

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM node:14
WORKDIR /code
COPY package.json /code/package.json
COPY package-lock.json /code/package-lock.json
RUN npm install
COPY . /code
CMD ["npm", "run", "dev"]

11
docker-compose.yml Normal file
View File

@ -0,0 +1,11 @@
---
version: "3.8"
services:
iot_dashboard:
image: sthopeless/iot-finances:latest
restart: always
container_name: iot_dashboard
ports:
- 8080:8080
labels:
- com.centurylinklabs.watchtower.enable=true