Skip to content

Commit

Permalink
pathlib is in standard lib, yaml is installed with PyYaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tamsinforbes committed Apr 16, 2024
1 parent 4a5a880 commit ed13743
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions python-malformed-yaml/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM python:3.12.0-alpine3.17

# We are installing a dependency here directly into our app source dir
RUN pip install pathlib
RUN pip install yaml
RUN pip install PyYaml

COPY main.py /main.py

Expand Down
1 change: 0 additions & 1 deletion python-malformed-yaml/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import yaml
import pathlib


def main():
Expand Down

0 comments on commit ed13743

Please sign in to comment.