Skip to content

Commit ee78884

Browse files
authored
Merge pull request #382 from sparcs-kaist/feature/action-bap
Optimize Dockerfile
2 parents 9387216 + 2eea1c6 commit ee78884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
88

99
RUN apt-get update && apt-get install netcat-openbsd supervisor vim gettext -y
1010

11-
ADD ./ /newara/www
12-
1311
WORKDIR /newara/www
12+
COPY poetry.lock pyproject.toml /newara/www/
1413
RUN pip install poetry
1514
RUN poetry config virtualenvs.create false && poetry install
1615

16+
ADD ./ /newara/www
1717
RUN mkdir -p /var/log/newara/
1818
RUN chmod +x /newara/www/.docker/run.sh
1919
RUN chmod +x /newara/www/.docker/run-celery.sh

0 commit comments

Comments
 (0)