I want to create a new project in docker. I have already setup docker. Then install TYPO3 inside of it.
My docker file
FROM python:3.4-alpine
ADD . /code
WORKDIR /code
RUN pip install -r requirements.txt
CMD ["python", "app.py"]
I want to create a new project in docker. I have already setup docker. Then install TYPO3 inside of it.
My docker file
FROM python:3.4-alpine
ADD . /code
WORKDIR /code
RUN pip install -r requirements.txt
CMD ["python", "app.py"]
There are several projects dealing with TYPO3 in a Docker container.
Two well-known and active projects are the "TYPO3 Docker Boilerplate" by webdevops.io and some documents written and published by Martin Helmich.
TYPO3 Docker Boilerplate [link][GitHub]
This is a pre-configured Docker image to allow a simple setup for any TYPO3 related project. This boilerplate enables you to kickstart a TYPO3 Project and provides optional services commonly used in the TYPO3 world, such as Apache Solr for example.
Martin Helmich [link]
Comprehensive blog article by Martin Helmich, who also provides Docker images at hub.docker.com
[UPDATE] A third project worth mentioning is DDEV -- an open source tool based on Docker, that makes it simple to get a local PHP development environment. It is well documented in the official TYPO3 documentation (Contribution Workflow Guide), discussed in a Blog post by the TYPO3 GmbH and demonstrated in this video on YouTube.