#!/usr/bin/env bash

# pack frontend

# targetName="$(date +%F).tar.gz"

targetName="init-frontend.tar.gz"
targetJavaName="init-java.tar.gz"

tar -czvf frontend/$targetName -C frontend/docker .
tar -czvf java/$targetJavaName -C java/docker .

# cat >>target.txt <<EOF
# SXZ_HTTP_PORT=$SXZ_HTTP_PORT
# CONTAINER_NAME=$CONTAINER_NAME
# EOF

# pack backend

# targetName="$(date +%F).tar.gz"

# tar -czvf frontend/$targetName frontend/docker
