From eea13a30b885054ad87d0b69baf450d8e472228d Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 3 Sep 2021 22:59:04 +0100 Subject: [PATCH] Fix .env.build values. --- .env.build | 4 ++-- Dockerfile | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.env.build b/.env.build index bb995aad..4d3f2a45 100644 --- a/.env.build +++ b/.env.build @@ -1,2 +1,2 @@ -API_SERVER=__API_URL__ -THEMES_URL=https://static.revolt.chat/themes \ No newline at end of file +VITE_API_URL=__API_URL__ +VITE_THEMES_URL=https://static.revolt.chat/themes \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index dcc3fec4..976d3043 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,6 @@ RUN npm prune --production FROM node:15-buster WORKDIR /usr/src/app COPY --from=builder /usr/src/app . -RUN rm ./.env EXPOSE 5000 CMD [ "yarn", "start:inject" ] \ No newline at end of file