Gather data
This commit is contained in:
@@ -11,7 +11,7 @@ WORKDIR /app
|
||||
|
||||
# Copy source files
|
||||
COPY src/ /app/src/
|
||||
COPY word-list.txt /app/word-list.txt
|
||||
COPY export_real_words_with_hints.csv /app/export_real_words_with_hints.csv
|
||||
COPY compile.sh /app/compile.sh
|
||||
COPY docker-entrypoint.sh /app/docker-entrypoint.sh
|
||||
COPY crontab /app/crontab
|
||||
@@ -19,7 +19,8 @@ COPY crontab /app/crontab
|
||||
# Compile Java code
|
||||
RUN chmod +x /app/compile.sh && \
|
||||
mkdir -p /app/target && \
|
||||
javac -d /app/target src/puzzle/*.java
|
||||
cp src/puzzle/postgresql-42.7.8.jar /app/target/ && \
|
||||
javac -cp /app/target/postgresql-42.7.8.jar -d /app/target src/puzzle/*.java
|
||||
|
||||
# Create output directory
|
||||
RUN mkdir -p /data/puzzles
|
||||
|
||||
Reference in New Issue
Block a user