mirror of https://github.com/zlatinb/muwire
Attempt to reduce size a bit more
- Ignore the cruft when building - Remove the correct temporary directory #32 - Docker imagepull/33/head
parent
3733e48bbd
commit
489a7518c3
|
@ -0,0 +1,4 @@
|
||||||
|
.gradle/
|
||||||
|
.idea/
|
||||||
|
.git/
|
||||||
|
Dockerfile
|
|
@ -5,12 +5,13 @@ ARG DOCKER_IMAGE_VERSION=unknown
|
||||||
|
|
||||||
# JDK version
|
# JDK version
|
||||||
ARG JDK=9
|
ARG JDK=9
|
||||||
ARG TMP_DIR=muwire-tmp
|
|
||||||
|
|
||||||
|
# Important directories
|
||||||
|
ARG TMP_DIR=/muwire-tmp
|
||||||
ENV APP_HOME=/muwire
|
ENV APP_HOME=/muwire
|
||||||
|
|
||||||
# Define working directory.
|
# Define working directory.
|
||||||
WORKDIR /$TMP_DIR
|
WORKDIR $TMP_DIR
|
||||||
|
|
||||||
# Put sources into dir
|
# Put sources into dir
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
Loading…
Reference in New Issue