initial commit

This commit is contained in:
2023-05-21 18:46:48 +02:00
commit 19772073ae
27 changed files with 17663 additions and 0 deletions

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM node:18
# Create app directory
WORKDIR /app/
VOLUME /app/
RUN npm install -g npm@latest
COPY ./package.json ./
RUN yarn
EXPOSE 8081
COPY . .
ENV MONGODB_URL="mongodb://db:27017/pm25"
ENV PORT=8081
CMD DEBUG=pm25:* node main.js