node is gay, alok is gay for using node
This commit is contained in:
parent
9dceb03d49
commit
6e4b115b89
@ -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/ \
|
||||||
|
@ -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
1
buildfiles/frontend-env
Normal file
@ -0,0 +1 @@
|
|||||||
|
VITE_SERVER_URL=https://okiba.alk.pw
|
Loading…
x
Reference in New Issue
Block a user