first commit
This commit is contained in:
parent
bac5197e81
commit
df01be1d85
12
Dockerfile
Normal file
12
Dockerfile
Normal 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
11
docker-compose.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user