Add directory creation for app code
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -38,6 +38,9 @@ ENV PATH="$HOME/.venv/bin:$PATH"
|
|
38 |
# Install dependencies using Poetry
|
39 |
RUN poetry install --no-dev
|
40 |
|
|
|
|
|
|
|
41 |
# Copy the rest of your application code
|
42 |
COPY --chown=user /app/aerospace_chatbot/src $HOME/src
|
43 |
COPY --chown=user /app/aerospace_chatbot/data $HOME/data
|
|
|
38 |
# Install dependencies using Poetry
|
39 |
RUN poetry install --no-dev
|
40 |
|
41 |
+
# Create a directory for the app code
|
42 |
+
RUN --chown=user mkdir -p $HOME/src $HOME/data $HOME/config
|
43 |
+
|
44 |
# Copy the rest of your application code
|
45 |
COPY --chown=user /app/aerospace_chatbot/src $HOME/src
|
46 |
COPY --chown=user /app/aerospace_chatbot/data $HOME/data
|