add dev container
All checks were successful
Build and Push container / build_concierge_backend (push) Successful in 1m23s

This commit is contained in:
Angel Nunez Mencias 2024-11-03 23:18:22 -03:00
parent 7368fd7eac
commit ce3d70e133
Signed by: angel.nunez
SSH key fingerprint: SHA256:z1nFAg1v1AfbhEHrgBetByUJUwziv2R2f4VyN75opcg
2 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,19 @@
{
"build": {
"dockerfile": "../Dockerfile",
"target": "dev"
},
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"ms-azuretools.vscode-docker"
]
}
},
"postStartCommand": "nginx",
"appPort": "8080:80"
}

View file

@ -1 +1,12 @@
FROM alpine
FROM alpine AS common
# Insert here instructions to build your container, both for dev and production
# Example - install a web server
RUN apk add nginx
FROM common as dev
# Insert here all the dev only tools you need such as debuggers
RUN apk add git
FROM common as prod
# Insert here production only things such as keys or production settings