Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.7 as base
FROM python:3.11.7 AS base

ENV POETRY_VERSION=1.8.2 \
POETRY_VIRTUALENVS_IN_PROJECT=true \
Expand All @@ -14,7 +14,7 @@ COPY pyproject.toml poetry.lock ./

RUN $POETRY_HOME/bin/poetry install --no-root

FROM base as dev
FROM base AS dev

WORKDIR /app

Expand Down Expand Up @@ -50,7 +50,7 @@ EXPOSE $PORT
CMD ["./bin/run-dev.sh"]

# Production image
FROM python:3.11.7-slim as prod
FROM python:3.11.7-slim AS prod

ARG UID=10001
ARG GID=10001
Expand Down
34 changes: 0 additions & 34 deletions contribute.json

This file was deleted.

2 changes: 0 additions & 2 deletions moderator/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,12 @@ def COMPRESS_JINJA2_GET_ENVIRONMENT():
"'self'",
"https://*.mozilla.org",
"https://*.mozilla.net",
"https://mozillians.org",
)
CSP_IMG_SRC = (
"'self'",
"https://*.google-analytics.com",
"https://*.gravatar.com",
"https://*.wp.com",
"https://cdn.mozillians.org",
"https://people.mozilla.org",
"https://*.mozaws.net",
)
Expand Down