Add docker deployment
All checks were successful
build docker image / docker-build (push) Successful in 4m53s
All checks were successful
build docker image / docker-build (push) Successful in 4m53s
This commit is contained in:
@ -82,14 +82,11 @@ COPY . .
|
||||
|
||||
RUN npm install \
|
||||
&& npm run build \
|
||||
&& chown www-data:www-data . -R \
|
||||
&& mv /tmp/dist/* /tmp/api /var/www/html
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
RUN cp config.js.ci config.js \
|
||||
&& sed -i "s/{APP_URL}/$APP_URL/g" config.js \
|
||||
&& chown www-data:www-data . -R
|
||||
|
||||
COPY ./entrypoint.sh /
|
||||
|
||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
||||
|
Reference in New Issue
Block a user