diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..02d42ee --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e5edb13 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: "3.8" +services: + temperato: + build: . + restart: unless-stopped + env_file: '.env' + logging: + driver: local + options: + max-size: '10m' \ No newline at end of file