Skip to content

Commit

Permalink
Added dockerfile, image builds but I cant run the container
Browse files Browse the repository at this point in the history
  • Loading branch information
jwgerlach00 committed Nov 20, 2023
1 parent 742b43c commit 9f23b09
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Use the official PostgreSQL image as the parent image
FROM ubuntu/postgres:latest

# Add Python and Git
RUN apt update && apt install -y python3 python3-pip git

# Create a new directory for the application
RUN mkdir /app

# Clone the repository into the /app directory
RUN git clone https://github.com/csc510-team5/ClassMateBot.git /app

# Install any needed packages specified in requirements.txt
# RUN python3 -m venv venv
# RUN source venv/bin/activate
RUN pip install -r /app/requirements.txt

# Set the working directory to /app
WORKDIR /app

0 comments on commit 9f23b09

Please sign in to comment.