Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jerem1508 committed Feb 7, 2024
1 parent 368d42b commit 67297be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:18-alpine
WORKDIR /app
COPY ./server/package.json ./
COPY ./server/package*.json ./
RUN npm ci
COPY ./server ./
EXPOSE 3000
2 changes: 1 addition & 1 deletion server/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (process.env.NODE_ENV === 'development') {
app.use(express.static(path.join(path.resolve(), 'dist')));
}

app.use(express.static(path.join(path.resolve(), 'public')));
// app.use(express.static(path.join(path.resolve(), 'public')));

app.get('/api/docs/specs.json', (req, res) => { res.status(200).json(apiDocument); });

Expand Down

0 comments on commit 67297be

Please sign in to comment.