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.
2022-10-30 01:26:54 +02:00
|
|
|
FROM node:19-alpine
|
|
|
|
|
2022-10-30 01:30:44 +02:00
|
|
|
LABEL maintainer="Antoine Langlois <antoine.l@antoine-langlois>"
|
|
|
|
LABEL org.opencontainers.image.source="https://gitea.antoine-langlois.net/DataHearth/cors-anywhere-docker"
|
|
|
|
LABEL repository="https://gitea.antoine-langlois.net/DataHearth/cors-anywhere-docker"
|
|
|
|
|
2022-10-30 01:26:54 +02:00
|
|
|
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" ]
|