updates render dockerfile to correctly copy patches dir into build context

This commit is contained in:
nai-degen
2024-09-16 23:39:43 -05:00
parent d21e274358
commit 4dfd57fcb4
4 changed files with 3 additions and 8 deletions
+1 -2
View File
@@ -17,9 +17,8 @@ ARG GREETING_URL
RUN if [ -n "$GREETING_URL" ]; then \
curl -sL "$GREETING_URL" > greeting.md; \
fi
COPY package*.json greeting.md* ./
RUN npm install
COPY . .
RUN npm install
RUN npm run build
RUN --mount=type=secret,id=_env,dst=/etc/secrets/.env cat /etc/secrets/.env >> .env
EXPOSE 10000