mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
feat: use dev container
This commit is contained in:
parent
0d140b41da
commit
b61534ebfe
2 changed files with 10 additions and 1 deletions
|
@ -29,7 +29,7 @@ RUN wget https://go.dev/dl/${GO_TAR} && \
|
|||
|
||||
RUN go install github.com/cosmtrek/air@latest
|
||||
|
||||
COPY resources/development/entrypoint.sh /entrypoint.sh
|
||||
COPY ../resources/development/entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN chmod a+x /entrypoint.sh \
|
||||
&& rm -f /etc/nginx/conf.d/default.conf \
|
9
.devcontainer/devcontainer.json
Normal file
9
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
// Info https://containers.dev/implementors/json_reference/
|
||||
{
|
||||
// name of the dev container
|
||||
"name": "nginx-ui-dev",
|
||||
"build": {
|
||||
// Path is relative to the devcontainer.json file.
|
||||
"dockerfile": "Dockerfile"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue