Skip to content

Commit

Permalink
Fix Dockerfile syntax (#3463)
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem authored Oct 28, 2024
1 parent e84b24e commit 55a2bed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Mozilla Kinto server
FROM python:3.10-bullseye as python-builder
FROM python:3.10-bullseye AS python-builder
RUN python -m venv /opt/venv
ARG KINTO_VERSION=1
ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_KINTO=${KINTO_VERSION} \
Expand Down Expand Up @@ -36,4 +36,4 @@ WORKDIR /app
USER app

# Run database migrations and start the kinto server
CMD kinto migrate --ini $KINTO_INI && kinto start --ini $KINTO_INI --port $PORT
CMD ["sh", "-c", "kinto migrate --ini $KINTO_INI && kinto start --ini $KINTO_INI --port $PORT"]

0 comments on commit 55a2bed

Please sign in to comment.