Skip to content

Commit

Permalink
fix permission
Browse files Browse the repository at this point in the history
  • Loading branch information
5ym committed Jul 29, 2023
1 parent c051155 commit 1147a98
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
FROM ghcr.io/5ym/ec-cube:4.1
USER root
RUN apk add git openssh-client
USER nginx
RUN apk add git openssh-client
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ git clone https://github.com/univapay/UnivaPay-for-EC-CUBE4.git
cd UnivaPay-for-EC-CUBE4
cp docker-compose.sample.yml docker-compose.yml
docker compose up -d
docker compose exec --user root web sh -c "chwon -R nginx:nginx"
code . # devcontainerで開かなかったらdevcontainerで開きなおしてください
bin/console eccube:install -n
bin/console eccube:composer:require univapay/php-sdk
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.9"

services:
web:
image: ghcr.io/5ym/ec-cube:4.1
build: .
ports:
- "1080:80"
environment:
Expand All @@ -24,6 +24,9 @@ services:
- ".:/var/lib/nginx/html/app/Plugin/UnivaPay"
depends_on:
- db
dns:
- 1.1.1.1
- 1.0.0.1
db:
image: postgres:10
environment:
Expand Down

0 comments on commit 1147a98

Please sign in to comment.