probably working build
This commit is contained in:
19
Dockerfile
19
Dockerfile
@ -16,19 +16,16 @@ RUN apt install git ca-certificates lsb-release apt-transport-https wget curl na
|
||||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
|
||||
&& locale-gen
|
||||
|
||||
# Installing basic tools
|
||||
RUN apt install nodejs npm -y --no-install-recommends \
|
||||
&& apt auto-remove -y \
|
||||
&& apt clean -y
|
||||
|
||||
#Get the repos
|
||||
RUN git clone https://git.shihaam.dev/shihaam/okiba-org-frontend \
|
||||
&& git clone https://git.shihaam.dev/shihaam/okiba-org-backend
|
||||
|
||||
RUN cd /root/okiba-org-frontend \
|
||||
&& npm install \
|
||||
&& cd /root/okiba-org-backend \
|
||||
&& apt purge npm
|
||||
&& git clone https://git.shihaam.dev/shihaam/okiba-org-backend \
|
||||
&& curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash \
|
||||
&& curl -fsSL https://get.pnpm.io/install.sh | bash \
|
||||
&& source ~/.profile && source ~/.bashrc \
|
||||
&& nvm install node \
|
||||
&& cd /root/okiba-org-backend ; pnpm build \
|
||||
&& 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
|
||||
|
||||
# Copy Start Services
|
||||
COPY buildfiles/start_services.sh .
|
||||
|
Reference in New Issue
Block a user