Refine Devcontainer setup.
This commit is contained in:
parent
4792acc59a
commit
45b899c52d
|
@ -30,6 +30,7 @@ ENTRYPOINT [ "/usr/local/share/docker-init.sh" ]
|
||||||
CMD [ "sleep", "infinity" ]
|
CMD [ "sleep", "infinity" ]
|
||||||
|
|
||||||
# [Optional] Uncomment this section to install additional OS packages.
|
# [Optional] Uncomment this section to install additional OS packages.
|
||||||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||||
# && apt-get -y install --no-install-recommends <your-package-list-here>
|
&& apt-get -y install --no-install-recommends make \
|
||||||
|
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts/
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cp dev.env .env
|
make install-cloud-ide
|
||||||
cp azuracast.dev.env azuracast.env
|
make frontend-build
|
||||||
|
|
||||||
cp docker-compose.cloudide.yml docker-compose.yml
|
make up
|
||||||
|
|
||||||
docker-compose build web
|
|
||||||
docker-compose run --rm --user=azuracast web azuracast_install
|
|
||||||
docker-compose up -d
|
|
||||||
|
|
|
@ -32,8 +32,8 @@ services :
|
||||||
PUID : ${AZURACAST_PUID:-1000}
|
PUID : ${AZURACAST_PUID:-1000}
|
||||||
PGID : ${AZURACAST_PGID:-1000}
|
PGID : ${AZURACAST_PGID:-1000}
|
||||||
volumes :
|
volumes :
|
||||||
- ./vendor:/var/azuracast/www/vendor
|
- ${LOCAL_WORKSPACE_FOLDER:-.}/vendor:/var/azuracast/www/vendor
|
||||||
- .:/var/azuracast/www
|
- ${LOCAL_WORKSPACE_FOLDER:-.}:/var/azuracast/www
|
||||||
- www_uploads:/var/azuracast/uploads
|
- www_uploads:/var/azuracast/uploads
|
||||||
- tmp_data:/var/azuracast/www_tmp
|
- tmp_data:/var/azuracast/www_tmp
|
||||||
- station_data:/var/azuracast/stations
|
- station_data:/var/azuracast/stations
|
||||||
|
|
|
@ -5,9 +5,9 @@ services :
|
||||||
context : .
|
context : .
|
||||||
user : "${AZURACAST_PUID:-1000}:${AZURACAST_PGID:-1000}"
|
user : "${AZURACAST_PUID:-1000}:${AZURACAST_PGID:-1000}"
|
||||||
volumes :
|
volumes :
|
||||||
- .:/data/frontend
|
- ${LOCAL_WORKSPACE_FOLDER:-..}/frontend:/data/frontend
|
||||||
- ../resources/locale:/data/resources/locale
|
- ${LOCAL_WORKSPACE_FOLDER:-..}/resources/locale:/data/resources/locale
|
||||||
- ../web/static:/data/web/static
|
- ${LOCAL_WORKSPACE_FOLDER:-..}/web/static:/data/web/static
|
||||||
- frontend_node_modules:/data/frontend/node_modules
|
- frontend_node_modules:/data/frontend/node_modules
|
||||||
|
|
||||||
volumes :
|
volumes :
|
||||||
|
|
Loading…
Reference in New Issue