mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
16 lines
305 B
Docker
16 lines
305 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 /entrypoint.sh
|
|
|
|
RUN sed -i 's/\r//' /entrypoint.sh
|
|
|
|
VOLUME $PROJECT_DIR/storage
|
|
|
|
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]
|
|
CMD ["run"]
|