Skip to content

Commit

Permalink
Merge pull request #111 from shopware/shyim-patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
shyim authored Nov 16, 2024
2 parents 800cbdb + 6736a6b commit 34ed7fa
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Shopware 6 Production Docker

This repository contains a base image with Alpine + PHP + Caddy, which you can use to build your docker image with your code.
This repository contains a base image with Alpine + PHP + (Caddy or Nginx), which you can use to build your docker image with your code.

> [!WARNING]
> Due to DoS possibility with `Transfer-Encoding` we recommand using Nginx Image instead of Caddy. [See this issue for more information](https://github.com/shopware/docker/issues/107)
> [!NOTE]
> This docker image expects that you install all extensions using Composer. Otherwise, you will get `The class X is not found` errors. See [docs for more information](https://developer.shopware.com/docs/guides/hosting/installation-updates/extension-managment.html)
Expand All @@ -13,7 +16,7 @@ Create a Dockerfile in your project like:
#syntax=docker/dockerfile:1.4

# pin versions
FROM ghcr.io/shopware/docker-base:8.2 as base-image
FROM ghcr.io/shopware/docker-base:8.2-nginx as base-image
FROM ghcr.io/friendsofshopware/shopware-cli:latest-php-8.2 as shopware-cli

# build
Expand Down

0 comments on commit 34ed7fa

Please sign in to comment.