0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00
immich/.devcontainer/scripts/initializeCommand.sh
Zer0x00 3b06220219
feat: Upgrade devcontainer setup (#14419)
* Feat: Upgrade devcontainer

* Style: Format devcontainer.json

* Chore: Remove settings from devcontainer

* chore: add shebang

* chore: fix shellcheck

---------

Co-authored-by: Bünyamin Olgun <buenyamin.olgun@cancom.de>
Co-authored-by: Jason Rasmussen <jason@rasm.me>
2025-01-13 21:42:32 -05:00

6 lines
187 B
Bash

#!/bin/bash
# If .env file does not exist, create it by copying example.env from the docker folder
if [ ! -f ".devcontainer/.env" ]; then
cp docker/example.env .devcontainer/.env
fi