Skip to content

Commit

Permalink
feat: add devcontainer for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
manuandru committed Sep 16, 2023
1 parent 9463718 commit 7f91a11
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/universal
{
"name": "Piperchat",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/universal:2-linux",

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [80],

"postStartCommand": "cp .env.template .env && ./deploy.sh"
}

0 comments on commit 7f91a11

Please sign in to comment.