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