Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Updates the Dockerfile to:
1. launch from within an Ubuntu instance so I can execute the .py scripts
2. install python3 and pip so that the requirements in requirements.txt can get installed
  • Loading branch information
jaymedina authored May 6, 2024
1 parent f392366 commit f67f917
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
FROM python:3.11.9-slim-bullseye
FROM ubuntu:22.04

WORKDIR /usr/local/bin

COPY requirements.txt .

RUN apt-get update -y && apt-get upgrade -y && apt-get install -y \
python3 \
python3-pip

RUN pip install -r requirements.txt

COPY validate.py .
Expand Down

0 comments on commit f67f917

Please sign in to comment.