Skip to content

Instantly share code, notes, and snippets.

View bradiosd's full-sized avatar

Brad bradiosd

View GitHub Profile
# Set base Docker image
FROM node:13.12.0-alpine as build
# Set working directory within Docker image
WORKDIR /var/app
# Install NPM packages and copy
COPY . .
RUN rm -rf node_modules
RUN npm ci
version: '3.5'
services:
jdtv-reactjs:
container_name: jdtv-reactjs
stdin_open: true
tty: true
environment:
- NODE_ENV=local
- PORT=3000
@bradiosd
bradiosd / travis-install-mysql-5.7.sh
Last active February 28, 2017 10:36
Installing MySQL 5.7 on Travis CI - Updated 28th February 2017
#!/usr/bin/env bash
# Run the following command before this script is run.
# This would normally go in your travis.yml before_install: config.
#
# chmod -x travis-install-mysql-5.7.sh
#
# Install MySQL 5.7.
sudo service mysql stop || echo "mysql not stopped"
@bradiosd
bradiosd / build-android.sh
Last active February 23, 2017 11:43
Automatically build and sign Android APK files for Ionic 2.0
#!/bin/bash
# Author: Brad Bird
# Website: http://bradders.rocks
# Email: hello@bradders.rocks
# Instructions
# 0. Place this file in the root directory of your Ionic app
# 1. If you haven't made a keystore file go here https://developer.android.com/studio/publish/app-signing.html#signing-manually
# 2. Place your .keystore file in the root directory