mirror of
https://github.com/bitwarden/server.git
synced 2025-06-09 04:30:36 -05:00
Change Docker context
This commit is contained in:
parent
e78369e70d
commit
0a016b48e3
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -308,7 +308,7 @@ jobs:
|
|||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1
|
uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1
|
||||||
with:
|
with:
|
||||||
context: ${{ matrix.base_path }}/${{ matrix.project_name }}
|
context: .
|
||||||
file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile
|
file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile
|
||||||
platforms: |
|
platforms: |
|
||||||
linux/amd64,
|
linux/amd64,
|
||||||
|
@ -20,13 +20,13 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | b
|
|||||||
RUN npm install -g gulp
|
RUN npm install -g gulp
|
||||||
|
|
||||||
WORKDIR /source
|
WORKDIR /source
|
||||||
COPY *.csproj .
|
COPY src/Admin/*.csproj .
|
||||||
COPY ../../Directory.Build.props .
|
COPY Directory.Build.props .
|
||||||
|
|
||||||
# Restore Admin project dependencies and tools
|
# Restore Admin project dependencies and tools
|
||||||
RUN . /tmp/rid.txt && dotnet restore -r $RID
|
RUN . /tmp/rid.txt && dotnet restore -r $RID
|
||||||
|
|
||||||
COPY . .
|
COPY src/Admin/. .
|
||||||
#COPY ../../.git/. ./.git/
|
#COPY ../../.git/. ./.git/
|
||||||
|
|
||||||
# Build Admin app
|
# Build Admin app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user