You've already forked Curso-lenguaje-python
Re-structure infra folder
This commit is contained in:
12
catch-all/05_infra_test/01_redis_flask_docker/Dockerfile
Normal file
12
catch-all/05_infra_test/01_redis_flask_docker/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM python:3.12-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["python", "app.py"]
|
||||
|
||||
Reference in New Issue
Block a user