Skip to content

Commit

Permalink
Docker 3 (#12)
Browse files Browse the repository at this point in the history
* update Docker file, add start.sh

* fix basePath

* fix path
  • Loading branch information
craigrbarnes authored Dec 11, 2024
1 parent 0802664 commit 3982ede
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
FROM quay.io/cdis/ubuntu:20.04 AS build

ARG NODE_VERSION=20
ARG NEXT_PUBLIC_PORTAL_BASENAME=/ff
ARG NEXT_PUBLIC_PORTAL_BASENAME

ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV PATH=$PATH:/home/node/.npm-global/bin
Expand Down
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const nextConfig = {
output: 'standalone',
reactStrictMode: true,
pageExtensions: ['mdx', 'md', 'jsx', 'js', 'tsx', 'ts'],
basePath: process.env.NEXT_PUBLIC_PORTAL_BASENAME || '',
transpilePackages: ['@gen3/core', '@gen3/frontend'],
webpack: (config) => {
config.infrastructureLogging = {
Expand Down

0 comments on commit 3982ede

Please sign in to comment.