oai-claude / Dockerfile
djmuted
Edit Dockerfile
edd362c
raw
history blame
219 Bytes
FROM node:18-bullseye-slim
COPY . /app
WORKDIR /app
RUN --mount=type=secret,id=ENV,mode=0444,required=true \
cat /run/secrets/ENV > /app/.env && yarn install
EXPOSE 7860
ENV NODE_ENV=production
CMD [ "yarn", "start" ]