Answer the question
In order to leave comments, you need to log in
How to properly deploy a Symfony application using docker?
Previously, I used deployer - everything was deployed automatically with one command. Now I understand with docker. Is there something similar there? As I understand it, now you need to pack the code into an image every time and manually run this image on the server. It doesn't seem convenient...
Answer the question
In order to leave comments, you need to log in
If you really need to pack the code into an image, then pack it there and deployer
....
RUN curl -LO https://deployer.org/deployer.phar && \
mv deployer.phar /usr/local/bin/dep && \
chmod +x /usr/local/bin/dep
....
RUN dep test
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question