15 lines
316 B
Docker
15 lines
316 B
Docker
FROM php:8.3-cli
|
|
|
|
# Copy the application files
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
# Set permissions
|
|
RUN chown -R www-data:www-data /app
|
|
|
|
# Expose port 3000 (matching Dokploy configuration)
|
|
EXPOSE 3000
|
|
|
|
# Start the built-in PHP server on port 3000 (listening on all interfaces)
|
|
CMD ["php", "-S", "0.0.0.0:3000", "-t", "/app"]
|