@@ -4,7 +4,7 @@ FROM node:latest as build
|
||||
WORKDIR /usr/local/app
|
||||
|
||||
# Copy the project files to the container
|
||||
COPY frontend/ /usr/local/app/
|
||||
COPY . /usr/local/app/
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
@@ -16,8 +16,8 @@ FROM nginx:latest
|
||||
COPY --from=build /usr/local/app/dist/aktienbot /usr/share/nginx/html
|
||||
|
||||
# Copy configuration files
|
||||
COPY frontend/deploy/nginx.conf /etc/nginx
|
||||
COPY frontend/deploy deploy/
|
||||
COPY ./deploy/nginx.conf /etc/nginx
|
||||
COPY ./deploy deploy/
|
||||
|
||||
# Change file permissions
|
||||
RUN chmod +x ./deploy/healthcheck.sh
|
||||
|
Reference in New Issue
Block a user