move env's to bottom of Dockerfile

This commit is contained in:
sparklyballs
2017-01-16 04:07:42 +00:00
parent 2ce1899c62
commit 1f0b6735eb
+5 -5
View File
@@ -6,11 +6,6 @@ ARG BUILD_DATE
ARG VERSION ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
# environment settings
ENV BEETSDIR="/config" \
EDITOR="nano" \
HOME="/config"
# install runtime packages # install runtime packages
RUN \ RUN \
apk add --no-cache \ apk add --no-cache \
@@ -88,6 +83,11 @@ RUN \
/root/.cache \ /root/.cache \
/tmp/* /tmp/*
# environment settings
ENV BEETSDIR="/config" \
EDITOR="nano" \
HOME="/config"
# copy local files # copy local files
COPY root/ / COPY root/ /