mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-26 04:18:29 +02:00
15 lines
No EOL
462 B
Docker
15 lines
No EOL
462 B
Docker
FROM phpswoole/swoole:php8.3-alpine
|
|
|
|
WORKDIR /opt/registry/rdap
|
|
|
|
COPY . .
|
|
|
|
RUN composer install
|
|
|
|
RUN mv /opt/registry/rdap/config.php.dist /opt/registry/rdap/config.php
|
|
RUN sed -i "s|'db_username' => 'your_username'|'db_username' => '$DB_USER'|g" /opt/registry/rdap/config.php
|
|
RUN sed -i "s|'db_password' => 'your_password'|'db_password' => '$DB_PASSWORD'|g" /opt/registry/rdap/config.php
|
|
|
|
VOLUME /var/log/namingo
|
|
|
|
CMD ["php","/opt/registry/rdap/start_rdap.php"] |