diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..8f54ece4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:lts-alpine + +RUN mkdir -p /app +WORKDIR /app + +COPY package.json server.js /app/ +COPY lib /app/lib/ +RUN npm install + +ENV CORSANYWHERE_TARGET_WHITELIST "^https?:\/\/duckduckgo\.com" + +CMD [ "node", "/app/server.js" ] +EXPOSE 8080