Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit f196a74

Browse files
committed
refactor(deploy): update elixir version & packer logic
1 parent 19039f1 commit f196a74

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

deploy/production/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From bitwalker/alpine-elixir-phoenix:1.9.0
1+
From bitwalker/alpine-elixir-phoenix:1.12.2
22

33
RUN mkdir /root/api_server
44

3.52 KB
Binary file not shown.

deploy/production/packer.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ fi
2424
mkdir -p "${PACKER_TMP_DIR}/config"
2525
mkdir -p "${PACKER_TMP_DIR}/lib"
2626
mkdir -p "${PACKER_TMP_DIR}/priv"
27+
mkdir -p "${PACKER_TMP_DIR}/test/support"
2728

2829
echo "[Step 3/${TOTAL_STEPS}] creating ${ARCHIVE_NAME} ..."
2930

@@ -32,6 +33,7 @@ cp Makefile "${PACKER_TMP_DIR}/"
3233
cp Makefile.include.mk "${PACKER_TMP_DIR}/"
3334
cp config/prod.exs "${PACKER_TMP_DIR}/config"
3435
cp config/config.exs "${PACKER_TMP_DIR}/config"
36+
cp test/support/factory.ex "${PACKER_TMP_DIR}/test/support"
3537
cp -rf lib/* "${PACKER_TMP_DIR}/lib"
3638
cp -rf priv/* "${PACKER_TMP_DIR}/priv"
3739

0 commit comments

Comments
 (0)