mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-23 07:03:26 +03:00
16 lines
326 B
Docker
16 lines
326 B
Docker
FROM php:7.0-apache
|
|
|
|
ENV PROJECT_DIR=/var/www/html \
|
|
APP_URL=localhost
|
|
|
|
RUN docker-php-ext-install mysqli gettext
|
|
|
|
COPY ./src $PROJECT_DIR
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
|
|
RUN sed -i 's/\r//' /docker-entrypoint.sh
|
|
|
|
VOLUME $PROJECT_DIR/storage
|
|
|
|
ENTRYPOINT ["/bin/bash", "/docker-entrypoint.sh"]
|
|
CMD ["run"]
|