-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat Change directory structure (#151) * fix Remove label (#154) * feat Add --no-install-recommends option (#155) * feat Change unix domain socket to tcp socket (#157) * feat Remove Node from web container (#163) * fix Remove unnecessary volumes (#165) * feat Remove .env.example (#167) * fix Makefile * feat Change the base image OS of the web container from alpine to debian (#169) * feat Remove shell instructions (#171)
- Loading branch information
Showing
11 changed files
with
29 additions
and
94 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
FROM mysql/mysql-server:8.0 | ||
LABEL maintainer="ucan-lab <[email protected]>" | ||
|
||
ENV TZ=UTC | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,7 @@ | ||
FROM node:16-alpine as node | ||
FROM nginx:1.20-alpine | ||
LABEL maintainer="ucan-lab <[email protected]>" | ||
SHELL ["/bin/ash", "-oeux", "pipefail", "-c"] | ||
FROM nginx:1.20 | ||
|
||
ENV TZ=UTC | ||
WORKDIR /data | ||
|
||
RUN apk update && \ | ||
apk add --update --no-cache --virtual=.build-dependencies g++ | ||
ENV TZ=UTC | ||
|
||
# node command | ||
COPY --from=node /usr/local/bin /usr/local/bin | ||
# npm command | ||
COPY --from=node /usr/local/lib /usr/local/lib | ||
# yarn command | ||
COPY --from=node /opt /opt | ||
# nginx config file | ||
COPY ./infra/docker/nginx/*.conf /etc/nginx/conf.d/ | ||
|
||
WORKDIR /work/backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM php:8.1-fpm-bullseye | ||
LABEL maintainer="ucan-lab <[email protected]>" | ||
SHELL ["/bin/bash", "-oeux", "pipefail", "-c"] | ||
|
||
WORKDIR /data | ||
|
||
# timezone environment | ||
ENV TZ=UTC \ | ||
|
@@ -15,17 +15,13 @@ ENV TZ=UTC \ | |
COPY --from=composer:2.2 /usr/bin/composer /usr/bin/composer | ||
|
||
RUN apt-get update && \ | ||
apt-get -y install git libicu-dev libonig-dev libzip-dev unzip locales && \ | ||
apt-get -y install --no-install-recommends locales git unzip libzip-dev libicu-dev libonig-dev && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
locale-gen en_US.UTF-8 && \ | ||
localedef -f UTF-8 -i en_US en_US.UTF-8 && \ | ||
mkdir /var/run/php-fpm && \ | ||
docker-php-ext-install intl pdo_mysql zip bcmath && \ | ||
composer config -g process-timeout 3600 && \ | ||
composer config -g repos.packagist composer https://packagist.org | ||
|
||
COPY ./infra/docker/php/php-fpm.d/zzz-www.conf /usr/local/etc/php-fpm.d/zzz-www.conf | ||
COPY ./infra/docker/php/php.ini /usr/local/etc/php/php.ini | ||
|
||
WORKDIR /work/backend | ||
COPY ./infra/docker/php/*.ini /usr/local/etc/php/ |
This file was deleted.
Oops, something went wrong.