Category : backend

I was recently trying to create a docker container and connect it with my SQLDeveloper but I started facing some strange issues. I downloaded the docker image using below pull request: docker pull store/oracle/database-enterprise:12.2.0.1-slim then I started the container from my docker-desktop using port 1521. The container started with a warning. enter image description here ..

Read more

I have a problem with pathways docker-compose, when I try build project with only docker build, it works great, but I mustn’t use docker build, I have to use docker-compose. When I use docker-compose it returns 2 ERRORS at step 3/5 => ERROR [3/5] COPY /app/package.json . and at step 5/5 => ERROR [5/5] COPY ..

Read more

I’m using Docker to automate my backend work in Python. I have a file backend.py, which when executed, downloads pdf files and converts them into images. This is my Dockerfile: FROM python:3.6.3 RUN apt-get update -y RUN apt-get install -y python-pip python-dev build-essential RUN pip install –upgrade pip RUN apt-get install -y ghostscript libgs-dev RUN ..

Read more

I have a problem with my python(python3.8.5) project! I have two docker containers. One is used for the frontend(container2) using flask. There I have a website where I can send requests(package requests) to the second container(backend). In the backend(container1) I have to create a zip file containing multiple file. That part is done. Now the ..

Read more

I need to redirect "/swagger-ui.html" to the documentation page. I tried: app = FastAPI() @app.get("/swagger-ui.html") async def docs_redirect(): response = RedirectResponse(url=’/docs’) return response and app = FastAPI(docs_url="/swagger-ui.html") @app.get("/") async def docs_redirect(): response = RedirectResponse(url=’/swagger-ui.html’) return response But, running the project directly (using uvicorn command) I works, but when I put it on a Docker container, ..

Read more

I’m trying to develop a Laravel 8 app using docker, I previously have installed docker 20.10.3 on my ubuntu 20 pc, I followed every step for Linux installation but, when I type ./vendor/bin/sail up I get: ./vendor/bin/sail: line 42: docker-compose: command not found ./vendor/bin/sail: line 44: docker-compose: command not found ./vendor/bin/sail: line 280: docker-compose: command ..

Read more