title: POST requests not working in docker-compose container
body: <p>I have a problem with sending post requests to docker container build up with docker-compose method. When I send post request I receive 405 error -> "message": "The method is not allowed for the requested URL.". What is important is the fact that post requests work when I use the same container with docker run command. I guess that the problem might be docker-compose.yml file. </p>
  
  <p>Dokckerfile</p>
  
  <pre><code>FROM python:3.6-alpine
  
  EXPOSE 5005
  WORKDIR /dialogflow_nlp_connector
  COPY requirements.txt /dialogflow_nlp_connector
  RUN apk add --no-cache --virtual .build-deps g++ musl-dev
  RUN pip install -r requirements.txt
  COPY . /dialogflow_nlp_connector/
  
  CMD ["python", "run.py"]
  </code></pre>
  
  <p>Docker-Compose.yml</p>
  
  <pre><code>version: "3"
  
  services:
      intent-handler:
          build: ./intent_handling
          volumes:
              - ./intent_handling:/dialogflow_nlp_connector
          environment:
              GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS} 
              DIALOGFLOW_PROJECT_ID: ${DIALOGFLOW_PROJECT_ID}
          ports: 
              - "5005:5005"
  
      slack_event_handler:
          build: ./slack_events_api
          volumes:
              - ./slack_events_api:/slack_event_handler
          environment:
              SLACK_BOT_TOKEN: ${SLACK_BOT_TOKEN}
              SLACK_SIGNING_TOKEN: ${SLACK_SIGNING_TOKEN}
              SLACK_VERIFICATION_TOKEN: ${SLACK_VERIFICATION_TOKEN}
              FALLBACK_MESSAGE: "Sorry something went wrong :c Please try again in a moment!"
          ports:
              - "3000:3000"
  </code></pre>
  
  <p>Thanks for any help in advance!</p>