skip to Main Content

how to correctly copy requirements.txt for docker file

This is how my current folder structure looks like: I am present in the FinTechExplained_Python_Docker folder. My Dockerfile looks like this: FROM python:3.8-slim-buster WORKDIR /src COPY requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD [ "python",…

VIEW QUESTION

SIGTERM not trapped by AWS ECS docker container

I have the following ECS container definition ContainerDefinitions: - Name: myfluentd Essential: true Image: !Ref DockerImage MountPoints: - SourceVolume: efs-volume ContainerPath: '/fluentd/buffers' ReadOnly: false PortMappings: - ContainerPort: 24224 HostPort: 24224 Protocol: tcp EntryPoint: - "/var/lib/twistlock/defender.sh" - "defender" - "entrypoint" -…

VIEW QUESTION
Back To Top
Search