This commit is contained in:
parent
477d49bf3f
commit
03223f9391
3 changed files with 3 additions and 4 deletions
|
@ -97,8 +97,6 @@ services:
|
|||
frontend:
|
||||
build:
|
||||
context: ./docker/frontend
|
||||
args:
|
||||
BUILD_ENV: production
|
||||
container_name: frontend
|
||||
restart: always
|
||||
networks:
|
||||
|
|
|
@ -24,7 +24,6 @@ ARG BUILD_ENV
|
|||
WORKDIR /app
|
||||
COPY --from=deps /app/shard.yml /app/shard.lock ./
|
||||
COPY --from=deps /app/lib ./lib
|
||||
COPY ./LICENSE ./LICENSE
|
||||
COPY ./Makefile ./Makefile
|
||||
COPY ./src ./src
|
||||
RUN if [ "${BUILD_ENV}" = "development" ]; then \
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
require "shard"
|
||||
|
||||
module Backend
|
||||
LICENSE = {{ read_file "LICENSE" }}
|
||||
LICENSE = Shard.license
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue