Comments (4)
FROM mcr.microsoft.com/playwright/dotnet:v1.40.0-jammy AS base
USER $APP_UID
WORKDIR /app
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["MicroServicesAutoSyncJinMin/MicroServicesAutoSyncJinMin.csproj", "MicroServicesAutoSyncJinMin/"]
RUN dotnet restore "MicroServicesAutoSyncJinMin/MicroServicesAutoSyncJinMin.csproj"
COPY . .
WORKDIR "/src/MicroServicesAutoSyncJinMin"
RUN dotnet build "MicroServicesAutoSyncJinMin.csproj" -c $BUILD_CONFIGURATION -o /app/build
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "MicroServicesAutoSyncJinMin.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
RUN chown -R $APP_UID /app
ENTRYPOINT ["dotnet", "MicroServicesAutoSyncJinMin.dll"]
from playwright-dotnet.
Sounds like your user has no permissions of running your RUN chown -R $APP_UID /app
line.
You could do USER $APP_UID
after that instead of in line 2 and then it should work.
from playwright-dotnet.
Sounds like your user has no permissions of running your
RUN chown -R $APP_UID /app
line.You could do
USER $APP_UID
after that instead of in line 2 and then it should work.
It seems that there is no such command, is this related to my use of Windows system?
I can't run without using Docker, the Linux environment is too difficult.
from playwright-dotnet.
Folding into #2814.
from playwright-dotnet.
Related Issues (20)
- [Bug]: Click is not working via javascript ExecuteAsync HOT 1
- [Bug]: Page.EvaluateAsync does not return the correct value HOT 2
- [Feature]: Port Android Support To .NET HOT 1
- [Bug]: Visual Studio Code Extension HOT 1
- [Question] Can i run my test on different executors? HOT 2
- [Docs]: Clarification on best practice for context usage HOT 2
- [Bug]: Missing playwright files since after 1.39.0 in Nuget Packages. (.playwright / node / .../ playwright... HOT 2
- [Ports]: Backport client side changes
- [Bug]: Cannot find module '../../package.json' HOT 1
- [Bug]: ClickOnce deployment error due to mismatched assembly identity in manifest
- [Please read the message below]
- [Feature]: Azure playwright testing support HOT 1
- Module not found error when trying to install browsers (v1.42.0) HOT 8
- [Bug]: Retrieving webpage information leads to continuously increasing memory usage and the webpage experiencing lagging HOT 5
- [Bug]: Redirect after Azure Entra login fails HOT 1
- [Question] azure - Executable doesn't exist at /ms-playwright/chromium-1097/chrome-linux/chrome HOT 2
- [Bug]: 'The parameter is incorrect' at System.ConsolePal.SetConsoleInputEncoding(Encoding enc) HOT 13
- [Please read the message below]
- Test cases not running after upgrading to 1.42.0 in Azure DevOps HOT 2
- [Bug]: FillAsync broke between1.41.2 and 1.42.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playwright-dotnet.