mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Use PHP8.1 as docker base image.
This commit is contained in:
parent
b78a9dc982
commit
49b0ef02d4
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM php:7-apache
|
||||
FROM php:8.1-apache
|
||||
|
||||
# Install needed dependencies for PHP build
|
||||
RUN apt-get update && apt-get install -y pkg-config curl libcurl4-openssl-dev libicu-dev \
|
||||
|
|
|
@ -14,4 +14,6 @@ services:
|
|||
image: jbtronics/part-db1:master
|
||||
environment:
|
||||
# Put SQLite database in our mapped folder. You can configure some other kind of database here too.
|
||||
- DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db
|
||||
- DATABASE_URL=sqlite:///%kernel.project_dir%/var/db/app.db
|
||||
# In demo env logs will be redirected to stderr
|
||||
- APP_ENV=demo
|
Loading…
Add table
Add a link
Reference in a new issue