This repository has been archived on 2024-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
cors-anywhere-docker/Dockerfile

18 lines
249 B
Docker

FROM node:19-alpine
RUN apk update
ENV HOST=0.0.0.0
ENV PORT=8080
ENV CORSANYWHERE_BLACKLIST=""
ENV CORSANYWHERE_WHITELIST=""
EXPOSE 8080
COPY . /cors-anywhere
WORKDIR /cors-anywhere
RUN npm i
ENTRYPOINT [ "/usr/local/bin/node", "server.js" ]