mirror of
https://github.com/bitwarden/server.git
synced 2025-06-08 20:20:32 -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
|
||||
uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1
|
||||
with:
|
||||
context: ${{ matrix.base_path }}/${{ matrix.project_name }}
|
||||
context: .
|
||||
file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile
|
||||
platforms: |
|
||||
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
|
||||
|
||||
WORKDIR /source
|
||||
COPY *.csproj .
|
||||
COPY ../../Directory.Build.props .
|
||||
COPY src/Admin/*.csproj .
|
||||
COPY Directory.Build.props .
|
||||
|
||||
# Restore Admin project dependencies and tools
|
||||
RUN . /tmp/rid.txt && dotnet restore -r $RID
|
||||
|
||||
COPY . .
|
||||
COPY src/Admin/. .
|
||||
#COPY ../../.git/. ./.git/
|
||||
|
||||
# Build Admin app
|
||||
|
Loading…
x
Reference in New Issue
Block a user