GithubHelp home page GithubHelp logo

mateogarciag / ollivanders-in-a-docker-mateogarciag Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cifpfbmoll/ollivanders-in-a-docker-mateogarciag

0.0 0.0 0.0 35.21 MB

ollivanders-in-a-docker-MateoGarciaG created by GitHub Classroom

License: MIT License

Python 77.92% Java 13.41% Dockerfile 8.14% Shell 0.53%

ollivanders-in-a-docker-mateogarciag's Introduction

Ollivanders with Docker

This Project belongs to @MateoGarciaG and @pau13-loop from Ollivanders Project. This Project is to practice Docker and DockerFile configuration to create a Container with gunicorn Server with Flask.

status application




Tabla de Contenidos

  1. DockerFile Flask Ollivanders
  2. Tecnologías Usadas
  3. Reflexiones
  4. Licencia

DockerFile Flask Ollivanders

FROM python:3.8-slim-buster

COPY requirements.txt /
RUN pip3 install -r /requirements.txt

COPY . /app
WORKDIR /app

ENTRYPOINT ["./gunicorn.sh"]
#!/bin/sh
gunicorn --chdir app app:app -w 2 --threads 2 -b 0.0.0.0:80

Run Docker Container Server Gunicorn Ollivanders App


⬆ back to top

Tecnologías Usadas

  • Python 3
  • Docker
  • Visual Studio Code
  • Git
  • Flask

⬆ back to top


Reflexiones

Que has mejorado con este proyecto?

This project let me know how to create and managed to a DockerFile with Flask and Gunicorn server.

⬆ back to top


Licencia

MIT License

Copyright (c) 2021 Mateo Garcia Gonzalez

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

⬆ back to top


Autor

Mateo Garcia Gonzalez

ollivanders-in-a-docker-mateogarciag's People

Contributors

matdevcoder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.