Compare commits

...

2 Commits

Author SHA1 Message Date
d8aeea64ff connect front and back 2022-12-14 00:34:41 +05:00
37dc6c6765 bruhhh... no need to expose backend lolll 2022-12-14 00:33:08 +05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,8 @@ RUN git clone https://git.shihaam.dev/shihaam/okiba-org-frontend \
&& nvm install node \ && nvm install node \
&& cd /root/okiba-org-backend ; pnpm build \ && cd /root/okiba-org-backend ; pnpm build \
&& 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 \
&& cd /root/okiba-org-frontend ; pnpm install ; pnpm run build && cd /root/okiba-org-frontend ; pnpm install ; pnpm run build \
&& echo 'VITE_SERVER_URL=http://localhost:8080' > .env.local
# Copy Start Services # Copy Start Services
COPY buildfiles/start_services.sh . COPY buildfiles/start_services.sh .

View File

@@ -13,7 +13,6 @@ services:
- $PWD/.env:/root/okiba-org-backend/.env - $PWD/.env:/root/okiba-org-backend/.env
ports: ports:
- 3000:3000 - 3000:3000
- 8080:8080
restart: always restart: always
######################### #########################
postgres: postgres: