Skip to content

Commit

Permalink
Update path in dockerfile (#1456)
Browse files Browse the repository at this point in the history
* Update path in dockerfile

* Add temp fix for missing library

* Update upload form field name
  • Loading branch information
peterMuriuki authored Aug 5, 2024
1 parent a4d7884 commit be27d90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN rm -rf ./node_modules/typescript
FROM nikolaik/python-nodejs:python3.12-nodejs22-alpine as final

# Use tini for NodeJS application https://github.com/nodejs/docker-node/blob/master/docs/BestPractices.md#handling-kernel-signals
RUN apk add --no-cache tini curl
RUN apk add --no-cache tini curl libmagic

# confd
RUN curl -sSL -o /usr/local/bin/confd https://github.com/kelseyhightower/confd/releases/download/v0.16.0/confd-0.16.0-linux-amd64 \
Expand All @@ -60,7 +60,7 @@ WORKDIR /usr/src/app
COPY --from=nodejsbuild /usr/src/express-server/build /usr/src/app
COPY --from=nodejsbuild /usr/src/express-server/node_modules /usr/src/app/node_modules

RUN pip install -r /usr/src/app/fhir-tooling/requirements.txt
RUN pip install -r /usr/src/app/importer/requirements.txt

ENV EXPRESS_REACT_BUILD_PATH /usr/src/web/

Expand Down
3 changes: 1 addition & 2 deletions packages/fhir-import/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ export const dataImportRQueryKey = 'dataImport';
export const locations = 'locations' as const;
export const users = 'users' as const;
export const organizations = 'organizations' as const;
export const careteams = 'careteams' as const;
export const careteams = 'careTeams' as const;
export const inventories = 'inventories' as const;
export const orgToLocationAssignment = 'orgToLocationAssignment' as const;
export const userToOrganizationAssignment = 'userToOrganizationAssignment' as const;
export const products = 'products' as const;
export const productImages = 'productImages' as const;

export const defaultImportTemplateName = 'import-template';
2 changes: 0 additions & 2 deletions packages/fhir-import/src/containers/StartImportView/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
orgToLocationAssignment,
userToOrganizationAssignment,
products,
productImages,
DATA_IMPORT_LIST_URL,
IMPORT_DOMAIN_URI,
dataImportRQueryKey,
Expand Down Expand Up @@ -46,7 +45,6 @@ interface FormFields {
[orgToLocationAssignment]: UploadFile[];
[userToOrganizationAssignment]: UploadFile[];
[products]: UploadFile[];
[productImages]: UploadFile[];
}

/**
Expand Down

0 comments on commit be27d90

Please sign in to comment.