Skip to content

Instantly share code, notes, and snippets.

@RamyaIyer96
RamyaIyer96 / serversetup.sh
Last active January 19, 2022 10:33
Ubuntu Apache2, mysql, php, phpmyadmin Setup in one go.
#!/bin/sh
#COLORS
# Reset
Color_Off='\033[0m' # Text Reset
# Regular Colors
Red='\033[0;31m' # Red
Green='\033[0;32m' # Green
Yellow='\033[0;33m' # Yellow
@RamyaIyer96
RamyaIyer96 / Dockerfile
Created September 23, 2019 11:58
Docker file to generate Reactjs build container and image.
FROM mhart/alpine-node:11 AS builder
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn run build
FROM mhart/alpine-node
RUN yarn global add serve
WORKDIR /app
COPY --from=builder /app/build .