FROM node:alpine3.15
WORKDIR /app
COPY ./ ./
RUN yarn install --immutable --immutable-cache --check-cache
ENV http_proxy=
ENV https_proxy=
ENV no_proxy=localhost,127.0.0.1
EXPOSE 80
RUN node server.js
FROM node:alpine3.15
WORKDIR /app
COPY ./ ./
RUN yarn install --immutable --immutable-cache --check-cache
ENV http_proxy=
ENV https_proxy=
ENV no_proxy=localhost,127.0.0.1
EXPOSE 80
RUN node server.js