node is gay, alok is gay for using node

This commit is contained in:
Shihaam Abdul Rahman 2022-12-20 23:58:16 +05:00
parent 9dceb03d49
commit 6e4b115b89
Signed by: shihaam
GPG Key ID: 3B007D22E5584980
3 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ RUN source ~/.profile && source ~/.bashrc \
&& wget -O words.txt https://raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt && wget -O words.txt https://raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt
# configure frontend # configure frontend
COPY buildfiles/frontend-env /root/okiba-org-frontend/.env.local
RUN source ~/.profile && source ~/.bashrc \ RUN source ~/.profile && source ~/.bashrc \
&& cd /root/okiba-org-frontend ; pnpm install ; pnpm build ; cd - \ && cd /root/okiba-org-frontend ; pnpm install ; pnpm build ; cd - \
&& mv /root/okiba-org-frontend/dist/* /var/www/html/ \ && mv /root/okiba-org-frontend/dist/* /var/www/html/ \

View File

@ -11,7 +11,6 @@ services:
image: git.shihaam.dev/dockerfiles/okiba image: git.shihaam.dev/dockerfiles/okiba
volumes: volumes:
- $PWD/backend-env:/root/okiba-org-backend/.env - $PWD/backend-env:/root/okiba-org-backend/.env
- $PWD/frontend-env:/var/www/html/.env.local
- $PWD/logs/npm:/root/.npm/_logs/ - $PWD/logs/npm:/root/.npm/_logs/
- $PWD/logs/nginx:/var/log/nginx/ - $PWD/logs/nginx:/var/log/nginx/
- $PWD/data/:/root/okiba-org-backend/data - $PWD/data/:/root/okiba-org-backend/data

1
buildfiles/frontend-env Normal file
View File

@ -0,0 +1 @@
VITE_SERVER_URL=https://okiba.alk.pw