Skip to content

Commit 3404b04

Browse files
authored
Merge pull request #1094 from dataquest-dev/palo-docker-permissions-fix
creating config.json is unnecesary???
2 parents d721710 + 3449f61 commit 3404b04

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Dockerfile.dist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ COPY --chown=node:node docker/dspace-ui.json /app/dspace-ui.json
2929

3030
WORKDIR /app
3131
USER node
32-
33-
# Ensure necessary files exist (possible issue when running as non-root user)
34-
RUN mkdir -p /app/dist/browser/assets \
35-
&& touch /app/dist/browser/assets/config.json
36-
3732
ENV NODE_ENV=production
3833
EXPOSE 4000
3934
CMD ["pm2-runtime", "start", "dspace-ui.json", "--json"]

0 commit comments

Comments
 (0)