Skip to content

Instantly share code, notes, and snippets.

@pollend
pollend / Dockerfile
Last active March 13, 2026 03:18
A sample configuration for deploying symfony for Azure.
######################################################################3
FROM node:10
# This first part uses a node image to build the frontend dependencies and copies
# the results into the next setep to produce the final deployed image
ADD . /var/www/symfony
WORKDIR /var/www/symfony
RUN yarn install --no-progress
RUN yarn build