Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed May 25, 2024
1 parent 4609b1f commit e2c7ae1
Show file tree
Hide file tree
Showing 6 changed files with 547 additions and 547 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ RUN npm install && npm run build && rm -rf node_modules
FROM python:3.11-slim-bookworm as backend

RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential libmagic-dev \
&& apt-get clean \
&& apt-get install -y --no-install-recommends build-essential libmagic-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY requirements.txt ./
Expand All @@ -24,7 +24,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY pyproject.toml poetry.lock ./

RUN poetry config virtualenvs.create false \
&& poetry install --no-root --without dev
&& poetry install --without dev

# Main
FROM python:3.11-slim-bookworm
Expand All @@ -50,7 +50,6 @@ ENV SPAMD_PORT=7833
ENV SPAMD_RANGE="10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,127.0.0.1/32"

ENV SPAMASSASSIN_PORT=7833

ENV PORT=8000

CMD ["circusd", "/usr/src/app/circus.ini"]
6 changes: 3 additions & 3 deletions app.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ RUN npm install && npm run build && rm -rf node_modules
FROM python:3.11-slim-bookworm as backend

RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential libmagic-dev \
&& apt-get clean \
&& apt-get install -y --no-install-recommends build-essential libmagic-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

COPY requirements.txt ./
Expand All @@ -24,7 +24,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY pyproject.toml poetry.lock ./

RUN poetry config virtualenvs.create false \
&& poetry install --no-root --without dev
&& poetry install --without dev

# Main
FROM python:3.11-slim-bookworm
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3"
services:
spamassassin:
image: instantlinux/spamassassin:4.0.0-6
Expand Down
Loading

0 comments on commit e2c7ae1

Please sign in to comment.