Dockerization
This commit is contained in:
parent
ea26bc54ed
commit
48920f46a1
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM node:18-alpine3.14
|
||||||
|
RUN apk update && apk upgrade && sync
|
||||||
|
WORKDIR /app/temperato
|
||||||
|
COPY . /app/temperato
|
||||||
|
RUN npm ci
|
||||||
|
CMD ["npm", "start"]
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
temperato:
|
||||||
|
build: .
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: '.env'
|
||||||
|
logging:
|
||||||
|
driver: local
|
||||||
|
options:
|
||||||
|
max-size: '10m'
|
Loading…
Reference in New Issue
Block a user