From 9d84f418b3bb87efff1b52c409ef958478462f2b Mon Sep 17 00:00:00 2001 From: "Kalahasthipura Vishwanath, Varun Gowda (PG/T - Comp Sci & Elec Eng)" <vk00621@surrey.ac.uk> Date: Fri, 14 Feb 2025 12:19:28 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4a42cac..c32be6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,12 @@ -print("hello world") +# This file is a template, and might need editing before it works on your project. +FROM python:2.7 +RUN mkdir -p /usr/src/app +WORKDIR /usr/src/app + +COPY requirements.txt /usr/src/app/ +RUN pip install --no-cache-dir -r requirements.txt + +COPY . /usr/src/app + +CMD ["python", "app.py"] -- GitLab