gino9872
gino9872
CC#
Created by gino9872 on 9/18/2023 in #help
❔ ASP.net Azure Authentication
Basically I followed this tutorial https://www.youtube.com/watch?v=pS1hER46PQI. At the point where he obtains the bearer token, and makes a request to his controller, I get a 401 response from my request in postman. Does someone has an idea why this is happening? I only made one role tho.
12 replies
CC#
Created by gino9872 on 11/25/2022 in #help
❔ ❔ Docker-Compose cannot find Dockerfile
Hey! when i try to do docker-compose build i get this error : failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount3526330123/Dockerfile: no such file or directory this is my YML file:
version: "3.9"
services:
frontend:
build: ./Individueel_FrontEnd
ports:
- 5173:5173
backend:
build: ./BackEnd/OnChat
ports:
- 7019:7019
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=myPassword
database:
image: mcr.microsoft.com/mssql/server:2022-latest
ports:
- 1433:1433
volumes:
- './drive:/var/opt/mssql'
version: "3.9"
services:
frontend:
build: ./Individueel_FrontEnd
ports:
- 5173:5173
backend:
build: ./BackEnd/OnChat
ports:
- 7019:7019
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=myPassword
database:
image: mcr.microsoft.com/mssql/server:2022-latest
ports:
- 1433:1433
volumes:
- './drive:/var/opt/mssql'
I'm 100% sure my dockerfile has the correct name "Dockerfile". Does anyone else had this problem?
6 replies