Skip to content
Snippets Groups Projects

Dockerfile

Closed Александр Плохих requested to merge Docker into main
4 unresolved threads
1 file
+ 14
0
Compare changes
  • Side-by-side
  • Inline
Dockerfile 0 → 100644
+ 14
0
FROM php:alpine
VOLUME ./:./app
WORKDIR app
COPY . .
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer install
CMD ["php"]
\ No newline at end of file
Loading