OpenAI DALL-E Image Generation (khanon/oai-reverse-proxy!52)

This commit is contained in:
khanon
2023-11-14 05:41:19 +00:00
parent 3ea23760c3
commit 20c064394a
56 changed files with 1401 additions and 305 deletions
+2
View File
@@ -3,6 +3,8 @@ RUN apt-get update && \
apt-get install -y git
RUN git clone https://gitgud.io/khanon/oai-reverse-proxy.git /app
WORKDIR /app
RUN chown -R 1000:1000 /app
USER 1000
RUN npm install
COPY Dockerfile greeting.md* .env* ./
RUN npm run build
+2
View File
@@ -17,6 +17,8 @@ ARG GREETING_URL
RUN if [ -n "$GREETING_URL" ]; then \
curl -sL "$GREETING_URL" > greeting.md; \
fi
RUN chown -R 1000:1000 /app
USER 1000
COPY package*.json greeting.md* ./
RUN npm install
COPY . .