Skip to content

Commit

Permalink
ci(docker): change initial docker image to remove nodejs and npm manu…
Browse files Browse the repository at this point in the history
…al installation
  • Loading branch information
EliotAmn committed Jan 16, 2025
1 parent c99ed5f commit be0b709
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim
FROM nikolaik/python-nodejs

# Open Container Initiative (OCI) labels
LABEL org.opencontainers.image.title="TekBetter Server"
Expand All @@ -14,8 +14,6 @@ WORKDIR /app

RUN apt-get update && apt-get install -y \
libcurl4-openssl-dev \
npm \
nodejs \
&& rm -rf /var/lib/apt/lists/*

COPY requirements.txt .
Expand Down

0 comments on commit be0b709

Please sign in to comment.